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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Relationship between Calendar Dimension and Fact Table - Slicer returns dates where no data in Fact

Hi,

 

I have a Calendar Dimension that links to my Fact table on a key.

 

My Calendar Dimension feeds multiple tables, and also goes way in to the future as it's a static table in the data warehouse.

 

I have set the relationship between and the crossfilter to "Both", however, my slicer based on values from the Calendar Dimension returns all values and not just those in the fact table.

 

DimCalendarExample.pngDimCalendarExample2.png

 

As you can see, the slicer has values back to 2010/11 on FinancialYear, but my Fact table only has data from April-2016 onwards. It also shows future dates way in advance as the Calendar Dimension goes far in to the future.

 

Any advice on how to work-around this as it could be confusing for end-users.

 

Thanks!

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

Place a report level filter on DischargeDateKey in your facts table saying <> BLANK. I dont know if this works, but it might! 🙂


Connect on LinkedIn

View solution in original post

2 REPLIES 2
tex628
Community Champion
Community Champion

Place a report level filter on DischargeDateKey in your facts table saying <> BLANK. I dont know if this works, but it might! 🙂


Connect on LinkedIn
Anonymous
Not applicable

Works great, and much easier than the various workarounds that I had been thinking up! Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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