Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'm problem in create a formula dax.
I need to create a calculation this way:
Valores:
| Month | Year | Value1 | Value2 |
| 1 | 2017 | 500 | 500 |
| 2 | 2017 | 200 | 200 |
| 3 | 2017 | 300 | 300 |
| 4 | 2017 | 850 | 850 |
| 1 | 2016 | 300 | 300 |
| 2 | 2016 | 850 | 850 |
| 3 | 2016 | 200 | 300 |
| 4 | 2016 | 300 | 200 |
With these values, has a filter to select the month and year, making this selection month 2 of 2017, the calculation needs to subtract values value1 and value2, then add what is behind, which would be 1-2017 and the year 2016 .
Could you help me!
Thank you
Hi @rmolinajr
So can you please confirm the value you would like your measure to show when 2 and 2017 are selected on a filter?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!