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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
remespinosa
Regular Visitor

NEED Help in calculating Variance wherein if selected dates is more than Todays date it will be 0

Here's a screenshot of my dashboard, I need the Variance Visual to not calculate April 2022 onwards since it is not yet "Today" date. Please help. Thank you. 

remespinosa_1-1648621478423.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@remespinosa , You can create a measure like this and use in visual or use this as visual level filter check for nonblank

 

if(max('Date'[Date]) >eomonth( today(),0) , blank() ,[Measure]) 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
remespinosa
Regular Visitor

Thanks for this!

amitchandak
Super User
Super User

@remespinosa , You can create a measure like this and use in visual or use this as visual level filter check for nonblank

 

if(max('Date'[Date]) >eomonth( today(),0) , blank() ,[Measure]) 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.