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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jmadsen
Frequent Visitor

Date Slicer for Data Table from Multiple Sources

I have a report that brings in multiple queries from a SQL database, then brings puts them into a simple table.  I'm trying to add a date slicer to the report.  The queries only go back 90 days from the run date, so I created a calendar in PowerBI that goes back 90 days like this:

 

Calendar = CALENDAR(
TODAY()-90,
TODAY()-1
)
 
I then created relationships to all my query date fields.  However, when I select dates in my slider, my data vanishes.
 
Before Slicing:
 
jmadsen_0-1669672510853.png

After Slicing

jmadsen_1-1669672540079.png

 

 These are the relationships I created:

jmadsen_2-1669672586305.pngjmadsen_3-1669672609845.png

They're all set to Many to 1 and Single in cross filter direction.  I'm pretty sure this is where my issue is, as I'm not very familiar with cardinality.  Any assistance is appreciated.

 
 

 

 

3 REPLIES 3
aj1973
Community Champion
Community Champion

Hi @jmadsen 

That depends on what column Date you put into the slicer. You have too many columns date and each column or each date correspond to their specific data.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Amine,

 

That's why I created the calendar, linked them to my data, and only put the calendar date into the slicer field.

Is there a better way to do it?

aj1973
Community Champion
Community Champion

It's a good thing you have created a Calendar, I didn't mean otherwise. 

In order to display data that apply for each Column date in the Master Table you need to create measures for using USERELATIONSHIP() function.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.