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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
brief001
Helper II
Helper II

RLS with StartDate and EndDate option

I have the table below. And my goal is to give all access via role management to users who meet three requirements:
1. The user email address must appear in the table.
2. The date of today must be between the StartDate and the EndDate
3. The value of column 'Reportname' must be equal to "Amount Dashboard".

brief001_1-1668599010814.png

 

 

And a user who does not at all meet the three above mentioned eoccurring in the table, is of course not allowed to see anything at all.

In summary, only the first user should be allowed to view the "Amount Dashboard" with the underlying data. And then he should no longer be able to see from 1-12-2022.

And the second user may view the "Amount Dashboard" with the underlying data from 01-02-2023


I'm looking for the right DAX expression that I should put in role management for this.

I hope someone can help me with this or point me in the right direction.
Thank you very much for thinking along!

3 REPLIES 3
brief001
Helper II
Helper II

Hi @v-yangliu-msft 

Thanks for thinking along! I went through your reference, but unfortunately this is not the solution I was looking for.

Thank you!

Hi @brief001 - I am working on similar kind of requirement, please let me know are there any solution found?

v-yangliu-msft
Community Support
Community Support

Hi  @brief001 ,

 

This is the related document, you can view this content:

Page level security with RLS - Microsoft Power BI Community

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors