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.
How can I replace with blank with 0 when there is no value returned in the table? If I add (+0) to the below measures it does not work.
Converted Count = COUNT(Data[Invoice No])
Not Converted Count = COUNTBLANK(Data[Invoice No])
Total Enquiry Count = COUNT(Data[Client Name])
Conversion Ratio % = [Converted Count] / [Total Enquiry Count]
Hi @gauravnarchal ,
I think you can try to create a measure.
VAR _t =
[Your measure]
RETURN
IF ( _t = BLANK (), 0, _t )
You can refer to similar posts that may be helpful to you:
Solved: replace blank with 0 in Matrix - Microsoft Power BI Community
Solved: Replace blank with 0 in matrix - Microsoft Power BI Community
Solved: Replacing blanks with 0 issue and data modeling is... - Microsoft Power BI Community
If the above does not help, can you please share a pbix file with some dummy data to test?
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gauravnarchal ,
try this measure
= IF (
ISBLANK([Your Measure]),
0,
[Your Measure]
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |