Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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?
Hi @amitchandak , I'm not sure I understand but is that what's causing the problem? Is there anyway to avoid the problem?
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
44 | |
41 | |
39 | |
36 |