Hi any idea how to cluster all columns by year?
It doesn't work for the calculated column for all years.
Thanks Maik
@Maik Burghardt
Hello! I can certainly help you troubleshoot the column clustering issue you're seeing in your Flex Grid.
It looks like you're correctly trying to use the Year entity to group all your measures—including the standard sums and the Calculated(ADR) field—under the respective year headers. This is the core functionality of Pivoting and Grouping in the Flex Grid, but sometimes the setup can be tricky, especially with calculated fields.
Here is the solution and the likely reason the calculated column isn't working as expected, based on the Flex Grid documentation:
To ensure the clustering works for every column, you must explicitly set the Year Entity as the top-level Column Label using the Flex Grid's configuration features:
Your screenshot suggests the configuration is almost right, as the regular sums (e.g., Sum(RN), Sum(Rev)) are repeating for each year. If Calculated(ADR) is the only one not working, here is the most probable cause:
Sum(RN)
Sum(Rev)
The Flex Grid allows users to easily manipulate data fields. Sometimes, when adding a new or calculated field, it doesn't automatically get recognized as part of the same dimensional grouping as the others.
Action to Take:
Calculated(ADR)
Let me know if moving the Year field in the Column Labels section resolves the issue!
Hi John,
thank you for the detailed answer.
It didn't work either. Year is the only column grouping and so already on the first place. However in the end I mentioned to manually drag and drop the calculated columns into the year grouping.
Br, Maik