Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello.
I am creating a matrix table to show annualised values.
My values change based on declared number of years in the Measure.
I have my Years as Column Headers. Is it possible to use the values in the headers as variable year in my measure?
Thank you.
Solved! Go to Solution.
In answer to your question I don't think it is possible to use the columns headers directly as a parameter of a measure.
But you may find you can use "what if" parameters to achieve what you are after...
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
Say if you created a parameter for the number of years... or something.
I am facing a similar issue, I want to create a matrix based on user selection for columns and rows.
We have a slicer with column header names, if a column name is selected. I want the Values for that column as rows in the matrix.
Is this possible by using any VAR or Parameter?
Could anyone provide an example?
Regards
Thanks
sjaiswal11,
Did you ever figure this out? Everytwhere I look, suggests unpivoting....
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
79 | |
58 | |
35 | |
34 |
User | Count |
---|---|
99 | |
59 | |
56 | |
46 | |
40 |