Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to solve card show blank ?

I use card to show number but if = 0 , it show blank.

 

I want to show 0 

 

Please guide about it.

1 ACCEPTED SOLUTION

@Anonymous 

Please share your sample data and screen how you are creating the card. 

 

With this information, a blank will appear for Category 2:

lkalawski_0-1611739432729.png   

lkalawski_1-1611739488547.png

To avoid the blank from appearing, create a measure:

Value without blank = 
IF ( ISBLANK ( MAX ( 'Table'[Value] ) ), 0, MAX ( 'Table'[Value] ) )

and then use it in Card.

lkalawski_2-1611739649804.png

 

PBI_SuperUser_Rank@1x.png Proud to be a Super User.
If I helped, please accept the solution and give kudos
Linkedin

 

 

View solution in original post

4 REPLIES 4
lkalawski
Super User
Super User

Hi @Anonymous 

You need to use a measure and use IF(ISBLANK([number]), 0 , [number] ).

Please share want you want to achieve and sample of data and then I can help you.

 

PBI_SuperUser_Rank@1x.png Proud to be a Super User.
If I helped, please accept the solution and give kudos
Linkedin

 

Anonymous
Not applicable

@lkalawski  How to use measure?

 

Sorry for not understand you.

I'm a newbie.

@Anonymous 

Please share your sample data and screen how you are creating the card. 

 

With this information, a blank will appear for Category 2:

lkalawski_0-1611739432729.png   

lkalawski_1-1611739488547.png

To avoid the blank from appearing, create a measure:

Value without blank = 
IF ( ISBLANK ( MAX ( 'Table'[Value] ) ), 0, MAX ( 'Table'[Value] ) )

and then use it in Card.

lkalawski_2-1611739649804.png

 

PBI_SuperUser_Rank@1x.png Proud to be a Super User.
If I helped, please accept the solution and give kudos
Linkedin

 

 

Anonymous
Not applicable

@lkalawski Now I use measure in card as below.
 
CALCULATE(
    COUNT ( 'Before 2021'[Status(2021)] ),
FILTER (
'Before 2021',
'Before 2021'[Status(2020)] <> "A"
&& 'Before 2021'[Status(2021)] = "A"
)
)
 
How to edit it?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.