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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Marcin
Helper V
Helper V

Two relationships

Hi,

 

I would like to ask for help with this case. 

 

I have a model with one fact table and one category dimension witch selectes users by two different logics. 

 

I would like to built two measures on fact table so that one measure will work on one filter path and second measure on second

 

logic.

 Model.PNG

 

As far as I am familiar with engine tabular engine will pick one way on filtering based on Group dim table. Is there a way to force which way it will go to filter measure based on fact table. 

5 REPLIES 5
V-lianl-msft
Community Support
Community Support

Hi @Marcin ,
 
Could you share the sample pbix to us?This will help us better understand your problem.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thejeswar
Community Champion
Community Champion

Hi @Marcin ,

How are you going to define the path the the Model should take for displaying the data in the report?

 

Rgds,

Hi @Thejeswar 

I would like to create a measure on fact table like for example DISTINCTCOUNT(FactTable[User]) and present it by Date , but the challenge is to be able to Filter this measure by Group Dim [Category name] in two different logics. ( LDAP and MU Group ). To be more specific, there should be two measures, one filtered by LDAP way and second by MU Group way. 

 

 

Thejeswar
Community Champion
Community Champion

Hi @Marcin ,

When you are connecting the Fact table by 2 flows, one of the flow won't work as there would always be a problem with defining which flow should work.  Ultimately, if I am not wrong, the system is going to decide it 🙂

 

Instead have two similar fact tables with respective measures based on the flow.

Then introduce a bookmark and add similar slicer to the bookmark pages and sync them. This will allow the selection in the slicer to run across bookmarks. Now give an image or some clickable option for the users to chose the flow based on which the data has to be displayed. Based on the selection render the bookmark. Hope this helps

 

Regds,

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.