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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
MandoPavs008
Frequent Visitor

Last 12M/6M/3M slicer to filter the table visual

Hi,

Can anyone help me with how to create a slicer with Last 12M/6M/3M to filter the table visual which has columns like Rank based on the products sold and other columns like below. Currently i can filter by Month_Year slicer but i wanted to change the slicer to Last12M/6M/3M 

CategoryRankA%Products soldImpact
A116.20%1915.70%
B22.81%272.23%
C311.06%691.62%
D40.46%31.05%
E50.69%420.88%
F616.20%190.88%
G75.02%1090.75%
H83.80%470.75%
I91.93%470.74%
J101.80%460.72%

 

Thank you.

3 REPLIES 3
MandoPavs008
Frequent Visitor

Thank you for your help. But I can't fix the months to 12M/6M/3M with the slicer you mentioned and also i dont want to add Date in my table visual. I wanted to add a slicer with just 12M/6M/3M to filter a table visual with the data without date which i have given in my initial post. 

v-weiyan1-msft
Community Support
Community Support

Hi @MandoPavs008 ,

 

I am not sure if I understood your question correctly.
Based on your description, it seems that you want to use the slicer to filter the data for the last 12 months, the last 6 months, etc.
Below is the data I created from the sample you provided.

vweiyan1msft_0-1708320754074.png

You might consider creating a relative date slicer to suit your needs.
Please select the your slicer, and in the Format pane, under Visual > Slicer settings > Options, change the Style to Relative Date.

vweiyan1msft_1-1708320770710.png

Result is as below.

vweiyan1msft_2-1708320856266.png

For more you may refer to:

Create a relative date slicer or filter in Power BI - Power BI | Microsoft Learn
Please correct me if I misunderstood your needs.


Best Regards,
Yulia Yan


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

MandoPavs008
Frequent Visitor

Dates in my sales table are like first of every month but not other dates. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.