Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
We have observed a strange behavior that causes data to be truncated in the visualisations. When viewed as a role with filter on a table with a one-to-many relation to a different table, and the table has invalid keys, the rows are removed completely.
Scenario:
Every table that should have RLS, has a column with account ids.
The actual key for the table is a combined key from the account id, and what would be the key without RLS.
the tables has the following relations
When a role with no filter is applied this is the result:
When a role that filters on table[accountId] = "asdf" is enabled, this is the result:
As expected.
Now a role with filter table[accountId] = "qwer" enabled:
Data rows from the sales table are missing.
Is this expected behaviour in such a scenario?
Are there ways to make it behave as expected when the data is arranged this way? (Besides adding "void" rows to every single table)
Solved! Go to Solution.
@Krogne,
Create relationship between sales table and supervisor table as shown in the following screenshots. Create same role as described in attached PBIX file.
Regards,
Lydia
@Krogne,
Create relationship between sales table and supervisor table as shown in the following screenshots. Create same role as described in attached PBIX file.
Regards,
Lydia
What fields of there tables (Employee Table, Supervsor Table, Sales Table) do you use to create relationship?
If you use key field of Employee Table and EmployeeKey field of Sales Table to create one to many rleationship, I note that the Employee Table doesn't contain qwer value. Same scenario occurs in Supervisor table if you use key field of Supervisor and SupervisorKey of Sales Table to create relationship.
In addition, do you create the role filter in Employee table? Could you please copy the data of the above tables in Excel file and share me the Excel file so that I can copy and paste data.
Regards,
Lydia
The relations are between:
Sales[EmployeeKey] <> Employee[key]
Sales[SupervisorKey] <> Supervisor[key].
Excel: Excel data
Role filter is applied on both Employee and Supervisor tables.
-Krogne
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
188 | |
76 | |
73 | |
54 | |
42 |