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.
Afternoon,
So i am trying to convert an Excel sheet to Powerbi.
I have a formular that uses MAX for max([logic calculation],0) so if the calculation is less that zero it will equal zero.
How would i do this in powerBI?
The calculation is [date 1]-[date 2] i have created a column with this in already but now not sure what to do!
Solved! Go to Solution.
In your column you could do
Column =
VAR _calc = [date 1]-[date 2]
RETURN
IF ( _calc < 0, 0, _calc )
In your column you could do
Column =
VAR _calc = [date 1]-[date 2]
RETURN
IF ( _calc < 0, 0, _calc )
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |