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
Userpath77
Helper II
Helper II

Modify Measure

Hello All

 

I have this measure and using it in a card, that card gets filtered and when no values present it says "blank." I need to modify the measure so that it returns a "0" if no values present. How should this be re-written?

 

CALCULATE(countrows(Elig_List),filter(Elig_List,Elig_List[Prom Elig Date]-TODAY()<=45))
 
Thanks for any help.
1 ACCEPTED SOLUTION
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @Userpath77 ,

Just add 0 at the end of the measure and you are good to go!
CALCULATE(countrows(Elig_List),filter(Elig_List,Elig_List[Prom Elig Date]-TODAY()<=45))+ 0

 

 

Kudos are always appreciated!

View solution in original post

2 REPLIES 2
Userpath77
Helper II
Helper II

Thank you......worked perfect!

Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @Userpath77 ,

Just add 0 at the end of the measure and you are good to go!
CALCULATE(countrows(Elig_List),filter(Elig_List,Elig_List[Prom Elig Date]-TODAY()<=45))+ 0

 

 

Kudos are always appreciated!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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