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
I have a formula that should change the measure if the year is not 2023. It returns the measure Margin $ if the year is before 2022, that's great, but if the year is 2023 then Margin $ new should be returned and it's not.
Hi @olivere91 did you try to "switch" conditions in your measure, like change places of "year" part filter? Switch restrict some results.
Check link https://dax.guide/switch/ (last 2 examples)
Hope this help
Proud to be a Super User!
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!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 10 |