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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AMBP73
Helper I
Helper I

Return Result as 0 in lieu of blank

Hi,

Power BI novice here.

I am wondering if someone could please assist. I have the following measure applied to a card visual to return a count of documents with dates (indicating overdue) before today's date, however as there are some that have no date applied, when filtering it return a a 'Blank' result. In lieu of this I would like it to display '0', but nothing I am trying is working. Can an additional condition be added to achieve this?

E&T Total Overdue = COUNTROWS(FILTER('E&T Document',NOT(ISBLANK('E&T Document'[Cancellation Date]))&&'E&T Document'[Cancellation Date]<TODAY()))

Thanks in advance

1 ACCEPTED SOLUTION
eliasayyy
Memorable Member
Memorable Member

hello you have 2 solutions
1-  Craete a new Measure  

No Blanks = 
IF(ISBLANK([E&T Total Overdue]),0,[E&T Total Overdue])



2- Use the new card visual

annonymous1999_0-1690888616964.png



annonymous1999_1-1690888654346.png

and change the show blank as to 0

 

View solution in original post

2 REPLIES 2
eliasayyy
Memorable Member
Memorable Member

hello you have 2 solutions
1-  Craete a new Measure  

No Blanks = 
IF(ISBLANK([E&T Total Overdue]),0,[E&T Total Overdue])



2- Use the new card visual

annonymous1999_0-1690888616964.png



annonymous1999_1-1690888654346.png

and change the show blank as to 0

 

Thankyou, much appreciated!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.