Forum Discussion
Dynamic Column Headers in matrix - Report Server
- 2 years ago
Hello Community:
I found the solution using Power Query.
I duplicate my "Calendar" table and leave only the "Fin de Mes" field, then add conditional columns to find the previous month and previous year using the functions "Date.Add.Years and Date.AddMonths"
As a next step, unpivot columns and add an index to sort the table according to my requirement.
And as a last step I created a measure to contain the values ββI need in each column
It works perfectly and is what the user was looking for! Thank you for reading π
Hello Community:
I found the solution using Power Query.
I duplicate my "Calendar" table and leave only the "Fin de Mes" field, then add conditional columns to find the previous month and previous year using the functions "Date.Add.Years and Date.AddMonths"
As a next step, unpivot columns and add an index to sort the table according to my requirement.
And as a last step I created a measure to contain the values ββI need in each column
It works perfectly and is what the user was looking for! Thank you for reading π