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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply

Dynamic RLS not working

Hi all,

 

I have 2 data tables, Scenario 101 and Filters wherein the common column for these 2 tables is Sap_company_code also i have my email id's list sheet 1 data table..

 

My requirement is, the user have to view the data based on the sap_company_code as per the email list provided in the sheet 1 table. I am getting an error while doing the relationship between these 3 tables. I am not able to attach the file hence i have provided you the snapshot. Kindly help me.

 

snapshot.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Revathi_Kannan ,

 

Please firstly check if there is a blank cell in your tables, or create two measures by DISTINCTCOUNT and COUNTROWS to double verify whether the values are distinct.

 

Generally, you need to fix the underlying data:

* Remove blanks/nulls
* Remove duplicates (of course)
* Remove errors

......

And delete the relationship, and then recreate the relationship to have a try again.

 

Refer to:

Power BI: The Cardinality you selected isn't valid for this relationship - deBUG.to

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Revathi_Kannan ,

 

Please firstly check if there is a blank cell in your tables, or create two measures by DISTINCTCOUNT and COUNTROWS to double verify whether the values are distinct.

 

Generally, you need to fix the underlying data:

* Remove blanks/nulls
* Remove duplicates (of course)
* Remove errors

......

And delete the relationship, and then recreate the relationship to have a try again.

 

Refer to:

Power BI: The Cardinality you selected isn't valid for this relationship - deBUG.to

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Kudoed Authors