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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Visual filter disable after "Show items with no data"

Hello,

 

I have an issue.

Task is to show opportunity sum in last three months by day and showing days with no data.

Somehow when I check "Show items with no data" visual filter (last 3 month) became disabled.

I'm struggling all day, maybe I'm looking in wrong direction:

  • I've created measure, that brings zero with opportunity count is blank
  • Joined Date table

None of it worked. Expected outcome and result in the picture. Link to pbix example below.

Keep in mind there will be a big size of data, so solution must be clean.

Thanks in advanced!

Capture.JPG

 

https://drive.google.com/file/d/1qAO9bmTbRetcVocXXMH1bwPtA0QAIVGi/view?usp=sharing

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Create a measure like

 

Measure = var _1= SUM(Opportunity[Opportunity count]) +0 
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date]) 
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date]) 
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
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
amitchandak
Super User
Super User

@Anonymous , Create a measure like

 

Measure = var _1= SUM(Opportunity[Opportunity count]) +0 
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date]) 
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date]) 
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
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
littlemojopuppy
Community Champion
Community Champion

Hi @Anonymous 

 

Is this what you're expecting?

littlemojopuppy_0-1610030953581.png

All I did to change it from what you posted to this was in the well for axis was change it from the date hierarchy to just the date like this

littlemojopuppy_1-1610031046602.png

 

 

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.

Top Solution Authors