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
Hello Team,
I need you help on priority.
Need to show the Negative values into Zero in calculated column while doing subtract values from one column to another column.
Please find the below screen shot for your reference .
BBB = Budget - Actual (in BBB column we can see on row values is in Negative and that should be Zero instead of Negaive value )
Is it possible...? If possible, please help me on this ASAP on priority.
Thanks for your reply in advance.
Regards,
RK
Solved! Go to Solution.
If this is a measure and you want the rows to add up to the total, you'll have to iterate over the account type.
For example,
SUMX ( VALUES ( Table1[Account Type] ), MAX ( 0, [Budget] - [Actual] ) )
assuming [Budget] and [Actual] are defined measures.
Enclose your original measure [BBB] with max(0, bla ... bla)
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
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 |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 48 | |
| 46 |