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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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 Solution Authors
Top Kudoed Authors