As you can see in the screen shot, I have a table with values, but the one property is a collection of values.
I need to summarize the values in the nested collection in the "Payments" column of the report. If I try to reference the field "PaymentAmount" I get an error "The expression contain object 'PaymentAmount' that is not defined in the current context".
I understand I could add another table inside the field, but that doesn't work well in my case.
Here is my Inline Json Datasource:
{
"value": [
{
"DocNumber": "952",
"PaymentLinks": [
{
"PaymentAmount": 1000.00
}
]
},
{
"DocNumber": "953",
"PaymentLinks": []
},
{
"DocNumber": "954",
"PaymentLinks": [
{
"PaymentAmount": 11.00
},
{
"PaymentAmount": 12.00
},
{
"PaymentAmount": 10.00
}
]
}
]
}