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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Request Help

Dear All,

 

I need help in solving a data model. Please refer attached data model. I need to build a report using all the six tables, however I am unable to pull data from "BusinessUserRoles" table and "BusinessUsers" table. I am not sure where I went wrong? Please suggest a solution. Note: Role ID column in "BusinessRolePermit"table and  "BusinessUserRoles" Table both have duplicate values, hence could get a direct relationship.DataModel.PNG

 

 

 

 

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Probably involves the directions of your relationships. Tough to say because no data and no context in terms of your visual or what you are trying to accomplish.  Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hello Greg,

 

Thank you for the quick response. I have six tables namely BusinessCategories, BusinessPermits, BusinessRolePermit, BusinessRoles, BusinessUserRoles, BusinessUsers as my input. Using these tables, I have to create a report.

 

BusinessCategories

Business IDBusiness Category
NY101Person
NY102Mail Form
NY103Application
NY104Accounts

 

BusinessPermits

Permit ID PermitBusiness ID
100Enter Person Module (Read-only)NY101
200Edit a PersonNY101
300Delete a personNY103
400Enter Member Company Module (Read-only)NY104
500Edit a companyNY103

 

BusinessRolePermit

Role IDPermit ID
XBXY-987V-A678-HLFJSFSA6100
GFHY-837F-F725-LIPGSTFSL2500
XBXY-987V-A678-HLFJSFSA6200
LPAR-298R-U364-LPSRKHVY5500

 

BusinessRoles

Role IDRoles Description 
XBXY-987V-A678-HLFJSFSA6GuestRead-Only Access
GFHY-837F-F725-LIPGSTFSL2AdminRead Write Access
JKSP-567W-J275-KSPFNXMT8UserRead-Only Access
LPAR-298R-U364-LPSRKHVY5Super UserRead-Only Access

 

BusinessUserRoles

Role IDUser ID
XBXY-987V-A678-HLFJSFSA6A00201
GFHY-837F-F725-LIPGSTFSL2A00202
JKSP-567W-J275-KSPFNXMT8A00203
GFHY-837F-F725-LIPGSTFSL2A00204

 

BusinessUsers

User IDNameLogin
A00201Raghav Vellankirvellanki
A00202Jason PetersonJpeterson
A00203Alan KingAking
A00204Mark WaughMwaugh

 

The expected output report should have the following columns:

Role IDRolesDescriptionPermitBusinessCategoryPermit IDNameLogin
XBXY-987V-A678-HLFJSFSA6GuestRead-Only AccessEnter Person Module (Read-only)Person600Raghav Vellankirvellanki
GFHY-837F-F725-LIPGSTFSL2AdminRead Write AccessEnter Person Module (Read-only)Person500Jason PetersonJpeterson
JKSP-567W-J275-KSPFNXMT8GuestRead-Only AccessEnter Person Module (Read-only)Person500Alan KingAking
LPAR-298R-U364-LPSRKHVY5GuestRead-Only AccessEnter Member Company Module (Read-only)Member Company600Mark WaughMwaugh

 

The relationships that I built could only retriev till column PermitID. When I try to pull data for 'Name' and 'Login' columns. I am getting an error message "Can't determine relationships between the fields"

 

 

Anonymous
Not applicable

DataModel.PNGError Message.PNG

 

The error message screenshot and relationships screenshot are added here. Please suggest.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.