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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sled1419
Regular Visitor

Slicer Not Working Across one USERELATIONSHIP field, is Working Across Another

I have essentially 3 data sets that matter for this scenario - Open Orders, Shipped Orders, and Forecast.  Each of these tables has a column with the $ value, the sales rep name, and the month name. 

 

I am building a combo bar & line chart, where the bar chart stacks the open & shipped orders by month, and the forecasted amount for the month is shown as a line. 

 

I set up relationships across Shipped <--> Forecast and Shipped <--> Open to link sales rep name. These are many to many and are set to active.

I also set up relationships across Forecast <--> Shipped and Forecast <--> Open to link the month name. These are many to many and are set to inactive.

 

I'm using month as my X axis, and I'm pulling it from my forecast table, but I need the other tables to also split by month so I have them calculated using USERELATIONSHIP since the relationships are inactive. It works fine, see below.

 

sled1419_0-1741118936644.png

My issue comes when I try to filter by sales rep. I have a slicer on the page that has sales rep name, pulled from the Shipped table. When I click the slicer, the Shipped (light blue bar) and Forecast (orange line) filter properly, but the Open (dark blue bar) does not filter, even though it has an active relationship on this field. See below.

sled1419_1-1741119039182.png

 

I'm not sure why the slicer is working on the Shipped <--> Forecast active relationship, but not working across the Shipped <--> Open active relationship. My assumption would be since my Open value (dark blue) in the visual is the "USERELATIONSHIP" one, which it has to be to get the months split out. But this doesn't make sense because it's the same for the Forecast value (orange line), so I'm not sure why it would be working to slice one USERELATIONSHIP calculation but not the other.

 

Help greatly appreciated!

 

1 ACCEPTED SOLUTION
Deku
Community Champion
Community Champion

You can turn this into a star schema and make things more simple, predictable and performant.

I would suggest turning the month name in a date, start or end of month. 

Create a date dimension, as a role playing dimension.

Setup relationships from date table to each of your facts and use USERELATIONSHIP to activate then.

Then you don't have to worry about other filters from the tables giving unexpected results.

Additionally I would include a common dimensions for sales rep.


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

3 REPLIES 3
v-ssriganesh
Community Support
Community Support

Hi @sled1419,
May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

v-ssriganesh
Community Support
Community Support

Hi @sled1419,

Thank you for reaching out to the Microsoft Fabric Forum Community, and thanks to @Deku for sharing valuable insights.

 

Could you please confirm if your query has been resolved by the provided solution? If so, please mark it as the solution. This will help other community members solve similar problems faster.

Thank you.

Deku
Community Champion
Community Champion

You can turn this into a star schema and make things more simple, predictable and performant.

I would suggest turning the month name in a date, start or end of month. 

Create a date dimension, as a role playing dimension.

Setup relationships from date table to each of your facts and use USERELATIONSHIP to activate then.

Then you don't have to worry about other filters from the tables giving unexpected results.

Additionally I would include a common dimensions for sales rep.


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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