I have LINQ Reporting template where I have values coming in and I read them using foreach-tag. They also have ratename-value. My question is, if I have identical values with identical ratenames, how can I merge/render only 1 of that identical group, so that duplicates won’t render? Now if I have 5 values coming in and 3 of them are identical, all 5 are rendered. In that example case I want only 3 values to render (2 different values and 1 value which is the identical ones). You can find example document attached here. testTemplate_v1.docx (12.7 KB)
If I understand you correctly, you mean merging of cells with equal values in a table. In this case, please check Merging Table Cells Dynamically for information on how to achieve this.
Please also note that when used in a table, a closing foreach tag should be located in the last table column, which is not the case for the template you provided. See Working with Table-Row Data Bands for more information.
If my understanding is not correct, please share more details on your requirement, for example, a desired output document.
You understood correctly. I want to merge cells with equal values in a table. I was wondering if you would have syntax example related to my example document.
For example, merging based on the xml.pricings.pricing and another example of merging by ratename.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.