Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am being challenged by a actual simple looking problem, but so far I am not able to solve it. Now I hope, that you can help me:
To create a line graph, in which the sum of reinvestment costs of devices are shown year by year, I need a list of the distinct years, which shall be displayed on the y-axis.
You can see, how the source data look like, here:
Can you tell me, how the appropriate DAX formula should look like in the column 'year of reinvestments' to receive the year for each row, where a number is contained?
I would be very grateful about some help.
Kind regards.
Solved! Go to Solution.
Hi
You can get the result in power query editor itself.
Select the year columns and use "Unpivot Columns" transformation.
Then rename the columns as you like.
Hi
You can get the result in power query editor itself.
Select the year columns and use "Unpivot Columns" transformation.
Then rename the columns as you like.
Hi rhariharaneee,
thanks for your quick answer. It works great! 🙂
Kind regards
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
82 | |
66 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |