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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.