March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
hi all,
i want to get a value from a table based on a dynamic columns name. Here is the context:
my tables are linked this way:
here is an example of structure info:
as you can see, the column year is what i want to get.
the matrix on my report should looks like this:
i tried something like this:
CurrentYear = 2022, 'structure_info'[2022],
Solved! Go to Solution.
@Minseven07 , You should unpivot the year columns in the power query
Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g
@Minseven07 , You should unpivot the year columns in the power query
Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g
I have tried this but i have unpivoted the years column and the id. Unpivoting just the years worked! You rock! Thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
118 | |
96 | |
87 | |
71 | |
62 |
User | Count |
---|---|
138 | |
116 | |
114 | |
99 | |
98 |