Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi guys,
I've got one table with the columns 'year' and 'price' and I use 'year' as the x-axis of my line diagram. For the years 2022 - 2025 I use the price values from the same table, but for the years 2020-2021 I have to use price values from another table. How can I express this issue in DAX?
Best regards
Use SELECTEDVALUE() or equivalent to sense where on the visual you are (in your case where on the x axis) and then calculate the measure value accordingly.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
19 | |
12 | |
10 | |
10 | |
8 |
User | Count |
---|---|
20 | |
13 | |
8 | |
7 | |
6 |