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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors