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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
bwelsh
Helper I
Helper I

Help with Multiple Relationship Slicer

I have table that contains three columns (let's call these USER_01, USER_02, USER_03). I have these connected to a USER table that contains two columns (USER, ROLE) using 1 active and 2 inactive realtionships. The problem is that I need to be able to slice the first table by role. This works fine if I slice by the role of the active relationship, but I get nothing when sliced by a role tied to an inactive relationship. Does anyone know how I can achieve this?

2 ACCEPTED SOLUTIONS
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @bwelsh

 

Consider moving your user columns to rows.

 

eg,

 

Cat , User_01 , User_02 , User_03
A     1         2         3
B 4 5 6

to

 

Cat , UserNumber , User
A 01 1
A 02 2
A 03 3
B 01 4
B 02 5
B 03 6

In this format your slicer can connect to the User column and may behave in a more desirable way


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

I think the unpivot command can help that, or Transpose.  Play with both and you should be able to create a table in the format I suggested.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

3 REPLIES 3
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @bwelsh

 

Consider moving your user columns to rows.

 

eg,

 

Cat , User_01 , User_02 , User_03
A     1         2         3
B 4 5 6

to

 

Cat , UserNumber , User
A 01 1
A 02 2
A 03 3
B 01 4
B 02 5
B 03 6

In this format your slicer can connect to the User column and may behave in a more desirable way


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

How would I go about doing this in the query editor?

I think the unpivot command can help that, or Transpose.  Play with both and you should be able to create a table in the format I suggested.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.