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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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 @Anonymous 

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?

Anonymous
Not applicable

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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