Showing results for 
Search instead for 
Did you mean: 
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".




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!

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!

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


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors