Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have Power BI dataset which has RLS rules(created dax expression) in it. When i validate the data in Power BI desktop RLS is working fine.
I have now created Power BI paginated report by using Power BI dataset which was deployed in service. Without RLS, if I run the report in Report Builder, report is working fine. Now I have implemented RLS in power BI data set and deploy the Paginated report in workspace. Both Power BI dataset and Paginated report are in same workspace and I have added respective users in dataset security for validating the RLS.
When I executed the repport by login as one of the program user, the report is not showing any data and it is showing only blank report.
Below is the DAX function which we used to have RLS in manage roles serction in desktop.
[ProgramId] IN CALCULATETABLE (
VALUES ('Dim_Clinic'[ProgramId] ),
FILTER ( Dim_Clinic, Dim_Clinic[ClinicID] IN
CALCULATETABLE (
VALUES ('Bridge_UserClinicBridge'[ClinicID] ), FILTER ( 'Bridge_UserClinicBridge', 'Bridge_UserClinicBridge'[UserID] IN
CALCULATETABLE (
VALUES ('Dim_User'[UserID]), FILTER('Dim_User', 'Dim_User'[InternalEmailAddress] = USERPRINCIPALNAME() )
)))))
Can anyone help?
Solved! Go to Solution.
Hi,
Thanks to all. I have resolved the issue and now able to see the data by using RLS. I have passed paramter values from Power BI dataset to embeded paginated report.
Thanks.
Hi,
Thanks to all. I have resolved the issue and now able to see the data by using RLS. I have passed paramter values from Power BI dataset to embeded paginated report.
Thanks.
Hi @TechMG
It appears to me that your DAX function for your RLS, is potentially not working when using paginated reports. What I would suggest doing is to try and simplify your RLS DAX function.
Also can you make sure that the user has got valid permissions on the paginated report/
Hi @GilbertQ ,
Thanks for your quick responce. For validating the RLS, I have added another page in Power BI desktop and it is working fine. And also, I have embeded the paginated report in Power Bi desktop and trying to map the parameters. However, I am unable to select the Power BI report field.
Thanks in Advance
Hi @GilbertQ ,
I have verified the data which I was added another page in report and published in service.
I have logged in as One of the Program user into service , ran the report and I could see the data for that perticular program user.
The issue is with Paginated Report only.
Correct me if I haven't understand your question.
I think because Paginated report using dataset in the service uses a direct query mode connection and CALCULATEDTABLE function is not supported for DQ connections.
To Be Verified !!
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi @TechMG
Yeah that then sounds like an issue with paginated reports, I would log a support ticket.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
20 | |
18 | |
18 | |
9 |