We have a JSON dataset where one of the nodes is a list of products. We have generated a DataSource based on this product list. Within each product node, there is an AdditionalInfos node, which is a list of data that complements each product. Find example attached.
"ProductList": { "Product": [ { "@Item": "Item1", "@BeginDate": "17/05/2023", "@Total": 253054.99, "AdditionalInfos": { "AdditionalInfo": [ { "@Key": "Vehiculo", "@Value": "MCG02" }, { "@Key": "Terminal", "@Value": "TERMINAL A" }, ] } }, { "@Item": "Item2", "@BeginDate": "16/05/2023", "@Total": 1234678.12, "AdditionalInfos": { "AdditionalInfo": [ { "@Key": "Vehiculo", "@Value": "MCG03" }, { "@Key": "Terminal", "@Value": "TERMINAL B" }, ] } }, { "@Item": "Item3", "@BeginDate": "15/05/2023", "@Total": 5646548.35, "AdditionalInfos": { "AdditionalInfo": [ { "@Key": "Vehiculo", "@Value": "MCG04" }, { "@Key": "Terminal", "@Value": "TERMINAL B" }, ] } }, ] }
Our goal is to generate a graphical representation of the product lines grouped by the AdditionalInfo lines with the Key "Terminal." The desired output should be as follows:
Terminal AItem1 17/05/2023 253054.99
Terminal B
Item2 16/05/2023 1234678.12
Item3 15/05/2023 5646548.35We would like to know the best approach to achieve this in Telerik Reporting Standalone. Is it possible to generate a DataSource with all the information at the same level and then perform grouping based on it?
Any guidance or examples would be highly appreciated. Thank you in advance for your assistance!