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
ryan_b_fiting
Post Patron
Post Patron

Role Playing Dimensional Slicer Table

Hello Community 

I am trying to create a Role Playing table that allows me to slice my reports with a role from that table.  My data sets originally were a fact table, employee table and date table. 

 

My fact table has 2 columns with employee id's, one for employee assigned to the claim and one with the employee assigned to the exposure.  Because of this, I created a Claim Emp table (all employees with role 'Claims' added) and an Exp Emp Table (all employees with role 'Exp' added). 

 

I do not want to use USERELATIONSHIPif possible because there are a lot of metrics we are looking at. 

 

From the Claim Emp Table and Exp Emp Table, I have appended those table into a Role table.  It shows all employees for each Role.  What I want to do is be able to select the role from this table and use it as a slicer to be able to slice the data by the different roles.  Here is sample data:

FACT TABLE

IDCountExpIDClmIDROWwid
14512312310
25612913911
323415515812
457612318313
52312515515

 

CLAIM EMP TABLE

Row IDEmp NameRoleZone
123AClaimNorth
139BClaimSouth
158CClaimSouth
183DClaimWest
166EClaimEast
129FClaimEast
155GClaimWest
125HClaimNoth

 

EXP EMP TABLE

Row IDEmp NameRoleZone
123AExpNorth
129FExpEast
155GExpEast
125HExpNoth
139BExpSouth
158CExpSouth
183DExpWest
166EExpEast

 

ROLE TABLE

Row IDEmp NameRoleZone
123AExpNorth
129FExpEast
155GExpEast
125HExpNoth
139BExpSouth
158CExpSouth
183DExpWest
166EExpEast
123AClaimNorth
139BClaimSouth
158CClaimSouth
183DClaimWest
166EClaimEast
129FClaimEast
155GClaimWest
125HClaimNoth

 

Is there anyway to model this data so that I can select the role, and it will filter the fact data based on the emp id role columns from the fact table?(ExpID and ClmID)

I am not sure that this is possible, but wanted to reach out to the community.


Thanks

Ryan

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ryan_b_fiting , refer if this can help

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@ryan_b_fiting , refer if this can help

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

This does not really solve the issue, but I believe it confirms what I thought and that the full solution my client is looking for is not actually possible.

Thank you for the information.

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.