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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

One dimension for multiple fact tables - how to filter?

Hi,

 

they say: create only one dim_time table for all facts. So:

 

111.PNG

 

Now I have one dim_time which relates to multiple fact tables. The problem is, when I use this dim_time for filtering to a specific date it will filter all the other facts for that date as well. 

 

When I want to filter only the registrations for a specific date and get all the sales for these customers who registerd at that date.

Or get all the sales for a specific date and see the registrations for the customers who did that sells.

 

Do I need two dim_time-dimensions for that?

 

I am using the SSAS and my Power BI would use this model after it is done. 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

You can write measures that remove filters. You can also set the time relationships up as inactive and only activate them within certain measures (USERELATIOINSHIP).

 

If you need to control filters for the fact tables independently and simultaneously with slicers, then it may be better to have multiple time dimensions.

View solution in original post

2 REPLIES 2
AlexisOlson
Super User
Super User

You can write measures that remove filters. You can also set the time relationships up as inactive and only activate them within certain measures (USERELATIOINSHIP).

 

If you need to control filters for the fact tables independently and simultaneously with slicers, then it may be better to have multiple time dimensions.

Anonymous
Not applicable

Okey, than I was right with the two dimensions , one for each time. 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors