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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.