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.
Hi there!
Is it possible to replace the following "no number" value with a zero?
I am using this DAX formula in the measure (third column)
Solved! Go to Solution.
@MRensenSDR You can resolve this I think with using the DIVIDE DAX funciton:
Gemiddeld gecalculeerd uurloon =
SUMX (
'Projectenbeheer',
DIVIDE (
'Projectenbeheer'[Kosten gecalculeerde uren],
'Projectenbeheer'[Aantal uur gecalculeerd],
0
)
)
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
HI,
Instead of '/' sign you can use DIVIDE function which handles 0 divider out of the box
Thanks,
Sayali
If this post helps, then please consider Accept it as the solution to help others find it more quickly.
Proud to be a Super User!
Try it with a DIVIDE and 0 for the 3rd condition.
Gemiddeld gecalculeerd uurloon =
SUMX (
'Projectenbeheer',
DIVIDE (
'Projectenbeheer'[Kosten gecalculeerde uren],
'Projectenbeheer'[Aantal uur gecalculeerd],
0
)
)
Thanks for all the quick replies! I should've known this... Thanks for all the quick help!
Try it with a DIVIDE and 0 for the 3rd condition.
Gemiddeld gecalculeerd uurloon =
SUMX (
'Projectenbeheer',
DIVIDE (
'Projectenbeheer'[Kosten gecalculeerde uren],
'Projectenbeheer'[Aantal uur gecalculeerd],
0
)
)
HI,
Instead of '/' sign you can use DIVIDE function which handles 0 divider out of the box
Thanks,
Sayali
If this post helps, then please consider Accept it as the solution to help others find it more quickly.
Proud to be a Super User!
@MRensenSDR You can resolve this I think with using the DIVIDE DAX funciton:
Gemiddeld gecalculeerd uurloon =
SUMX (
'Projectenbeheer',
DIVIDE (
'Projectenbeheer'[Kosten gecalculeerde uren],
'Projectenbeheer'[Aantal uur gecalculeerd],
0
)
)
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |