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 guys,
I am using a card visualization to show the count of rows, but some tables simply do not have any qualified row. Is there a way I can have it shown as 0 instead of <blank>. BTW, the dropdown is frozen. Can someone help on this?
Thanks so much.
Solved! Go to Solution.
Hi @ChenChristyYu,
Seems you added the column in the filed directly. Maybe you need a measure like this:
Measure = IF ( ISBLANK ( COUNT ( Table1[DATE] ) ), 0, COUNT ( Table1[DATE] ) )
Best Regards,
Dale
Hi @ChenChristyYu,
Seems you added the column in the filed directly. Maybe you need a measure like this:
Measure = IF ( ISBLANK ( COUNT ( Table1[DATE] ) ), 0, COUNT ( Table1[DATE] ) )
Best Regards,
Dale
@ChenChristyYu Be cautious with this because it could impact the calculations in other areas in unwanted ways, but you can just throw a "+0" at the end of the equation in the measure and it should produce a 0 instead of blank.
User | Count |
---|---|
47 | |
31 | |
28 | |
27 | |
26 |
User | Count |
---|---|
58 | |
55 | |
36 | |
33 | |
28 |