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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.