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.
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! |
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |