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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Need Help with USERELATIONSHIP with Text

Hello everyone,

 

currently I'm trying to create a dashboard for our consulting. The following example is just a short view from the data I'm using but since the problem just involves two columns I don't think it's necessary to explain everything.

The main task is that a region manager can see all the sells from his employees and he also shoulld be able to see the sells from the SecondSellerID and there is my main problem. The region manager only see the sells from the main seller. In the visualisations it only shows the sells from the main seller ofc too.

 

So I have two columns with the following columns:

- DIM_Seller

> Seller_ID

> Name

> ...

 

- Seller_Sales

> Seller_ID

> SecondSeller_ID

> ...

 

I created two relationships from DIM_Seller to Seller_Sales. One is from DIM_Seller.Seller_ID to Seller_Sales.Seller_ID and the other is from DIM_Seller.Seller_ID to Seller_Sales.SecondSeller_ID.

One of the relationships is active and the other one is inactive. Both of them have a n:1 and single relationship.

 

I thought about using USERELATIONSHIP but it's not working bc I'm not working with integer or any kind of numbers.

 

I would be glad if anyone could help me!

 

Best regards

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , You need use them in meausre.

Can share how are you are using them

 

refer my example oon that https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

or this blog

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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.

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.