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
powerbityro
Helper II
Helper II

limit slicer YEAR in a live connection

hi all,

 

i have a slicer YEAR with to much years from 1990 - 2029. i want to limit it to 2017-2019 (year of today and the last 3 years).

 

the problem is that i work in a live connection with a tabular model. i cant write columns. only measures. and measures are not accepted in slicers.

 

many thanks!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

I assume that you should be having a Date Column. This Date Column should be connected to another Table which would have the Continuous set of Date Values. When you are seeing this column inside of Power BI, you should be seeing the Year in the Hierarchy. Add this to the Slicer.

 

Now to limit it to the last 3 years, Take the Date Column in the Dim_Date (Diemension Table) and add the same to the Reports' Page Level Filter. Now Select Relative Filtering Option and You can input Anything like 36 and Months.

 

Best Regards,
Vignesh M

If what I suggested worked for you, feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue  🙂

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi,

 

I assume that you should be having a Date Column. This Date Column should be connected to another Table which would have the Continuous set of Date Values. When you are seeing this column inside of Power BI, you should be seeing the Year in the Hierarchy. Add this to the Slicer.

 

Now to limit it to the last 3 years, Take the Date Column in the Dim_Date (Diemension Table) and add the same to the Reports' Page Level Filter. Now Select Relative Filtering Option and You can input Anything like 36 and Months.

 

Best Regards,
Vignesh M

If what I suggested worked for you, feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue  🙂

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.