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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Filter a visual based on max slicer value

Hi, 

 

I have a month number slicer which I use to get data from the start of the year until the month I selected :

 

adil_sdj_0-1685117588498.png

 

However, on the same page I have visuals which I would like to filter on the last month of the selection I made on the slicer. 

e.g. I have selected months 1 to 3 on my slicer and I would like to have a pie chart showing only data from March, and I want my pie chart to show only data from April if I change my slicer selection to 1-4.
I have not found any way to do this, it looks like you cannot create a visual filter or create a filtered table based on a slicer selection.

 

Thank you very much for your help.

 

2 REPLIES 2
Anonymous
Not applicable

Hi @vk_pbi ,

 

Thank you for your help, I have a calendar lookup table like this which I join to my data table which has a "Start of Month" column as well.

adil_sdj_0-1685118861752.png

I tried using a measure : 

Max Month Number = MAX(Calendar_Lookup_month[Month Number])
The measure is indeed equal to the max month in my slicer selection but I can't find a way to filter my Pie Chart based on this measure. For example I can't just add a filter Calendar_Lookup_month[Month Number] = Max Month Number.
vk_pbi
Resolver II
Resolver II

Hi @Anonymous 

It will be difficult to suggest without knowing your data model

I assumed that, you have custom dates table, create a month number column (MONTH([Date]) in your date table, if its not there, then adjust your measure to match the slicer value with your month number

I hope this will fix your issues

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.