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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
AlexS2023
Helper I
Helper I

'Show Items with no data' seems to override Date-Slicer

Hi all,

 

Is this normal behaviour?

 

I've made a matrix to show user schedules (which cost-center they're booked to and when). This works fine but by default it will only show dates where at least one person is scheduled somewhere - see Pic 1 - note 4th February is missing (no-one worked that day).

 

So, in order to show the days where nobody is assigned (eg weekends) I select 'Show items with no data'. With this, the missing date reappears as an empty column, but so does all of January! See Pic 2.

 

In both instances the Date-Slicer is set to only show from Feb onwards, so the 'Show items with no data' option appears to have overwritten it 😓 what's stranger still, I do actually have data for January, but it appears to have been filtered out.

 

Is this normal or am I missing something? and why stop at January, why not just show me all of time, since there was no data for last year or 1975 either. Please help me understand 🙂 and any ideas on how to fix this gratefully received 😃

 

TIA,

 

Pic 1: (Note dates are in UK formatting)
Screenshot 1.png

 

 

Pic 2:

Screenshot 2.png

 

TIA

Alex

2 REPLIES 2
amitchandak
Super User
Super User

@AlexS2023 , This is how show item with no data works, it does kind of left join with dim

 

Try a measure like this instead

0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
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
AlexS2023
Helper I
Helper I

FYI the data behind this looks like:
UserName - - - - Cost Center - - - - ScheduleDate

Alex - - - - -- - - - -Head office - - - - - 01/02/2024

Alex - - - - -- - - - -Head office - - - - - 02/02/2024

Alex - - - - -- - - - -Head office - - - - - 03/02/2024

Alex - - - - -- - - - -Head office - - - - - 05/02/2024

Alex - - - - -- - - - -Head office - - - - - 06/02/2024

Ann Example- - - -Head office - - - - - 01/02/2024

Ann Example- - - -Head office - - - - - 02/02/2024

Ann Example- - - -Head office - - - - - 03/02/2024

Ann Example- - - -Head office - - - - - 05/02/2024

Ann Example- - - -Head office - - - - - 06/02/2024

The Matrix counts the records where they match and Conditional formatting colors it in if not 0.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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