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
KevinRDynasoft
Frequent Visitor

Show data until selected year

Hello,

 

I'm using chiclets but I could use a slicer. If I select a year, the page will only show data of that year but I want to show all the data of all the years before the one I selected (Including the one I selected obviously). I'm using a rolling calendar

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @KevinRDynasoft ,

 

Have you tried Relative date slicer in this case?

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @KevinRDynasoft ,

 

Create a new table using the years in the original table and use it as a slicer.

Create a measure and apply it as a visual filter.

Measure = IF(SELECTEDVALUE('Table'[year])>=MAX(test1[year]),1)

You can refer to the pbix

 

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

Anonymous
Not applicable

hey

try like this 
it should workscr.png

Pragati11
Super User
Super User

Hi @KevinRDynasoft ,

 

Have you tried Relative date slicer in this case?

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors