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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

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.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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