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

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

Reply
Anonymous
Not applicable

Relationship not Working when applying view as role function

Hi Again Experts,

 

Good day!

 

I have a problem with my dashboard and I think it's due to their relationship. When I applied the view as role function, the last dashboard which is reporting is not working. I did try to create a relationship but still doesn't work. I want to have a relationship between the Hierarchy and the reporting data. Here is an example of their data as attached. I know I need to create one relationship with unique values but I can't make it as it has more than one.

 

Could you please help me to create a measure where I could create a relationship where the view as role function will work?

Hierarchy:

 

Employee Data As OfEmployee NoHR_Data_First NameHR_Data_Last NameFull NameStatusVar Plan IDVar Plan DescCountry
2019-03-030009444AlexVan HalenAlex Van HalenActiveLXK01320OEM Account ManagerUnited States

 

Reporting data:

Empl_IDNameElementCountryPlan IDVar Plan DescJob TypeSales Plan Eff DtJob Data Chg DtLevelBusiness Area
0009444Alex Van HalenTotal RevenueUnited StatesLXK01320OEM Account ManagerOEM Account Manager2018-01-012019-02-15OEMChannel
0009444Alex Van HalenSupplies RevenueUnited StatesLXK01320OEM Account ManagerOEM Account Manager2018-01-012019-02-15OEMChannel

Please advise.

 

Thanks

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

How did you setup your relationship? Have you turn on 'apply security filter on both direction' option? It will affect security filter effect.

22.png

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

How did you setup your relationship? Have you turn on 'apply security filter on both direction' option? It will affect security filter effect.

22.png

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Thank you! I just delete one relationship and it's working.

 

Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.