Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi I'm trying to convert blank values in my matrix to Zero's. The table looks as follows:
I tried to create another measure as
Solved! Go to Solution.
Adding +0 to the end of your measure is one quick way to fix this
Forecast = CALCULATE(DISTINCTCOUNT(Task[UniqueTaskID]))+0
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Adding +0 to the end of your measure is one quick way to fix this
Forecast = CALCULATE(DISTINCTCOUNT(Task[UniqueTaskID]))+0
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@dmbd1904 - Generally that is:
Measure =
VAR __Calc = <some calculation>
RETURN
IF(ISBLANK(__Calc),0,__Calc)
Hi @Greg_Deckler , i tried that and got the same problem. See the image in my reply (It wouldn't let me include in the original post)
@dmbd1904 - Try
Measure =
VAR __Calc = <some calculation>
RETURN
IF(__Calc<0,0,__Calc)
No unfortunately that didn't work either
@dmbd1904 Can you post sample data as text that replicates this issue so I can mock it up?
@dmbd1904 , typically this creates a left join and you start getting all values.
Hi @amitchandak , I'm not sure I understand but is that what's causing the problem? Is there anyway to avoid the problem?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
99 | |
68 | |
44 | |
37 | |
29 |
User | Count |
---|---|
156 | |
92 | |
62 | |
44 | |
41 |