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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Retrieve selected filter on visual

Hi all,

 

Is it possible in Power BI desktop to retrieve the filters applied on a visual? For example, I have a visual on which I have added a filter on Calender[Date], I am only showing values for the last calender week. Is it possible to show the daterange in a seperate card visual?

 

Vincent

5 REPLIES 5
Anonymous
Not applicable

Anyone who knows a solution for this? 🙂

amitchandak
Super User
Super User

@Anonymous ,  Try a measure like

 

new measure =
var _max = maxx(allselected(Calender),Calender[Date])
var _min = minx(allselected(Calender),Calender[Date])
return

"Range " & _min to & " to " & _max

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak will that result in the min and max date for my whole calendar table or the selection of the calendar table within the visual?

Anonymous
Not applicable

Hi @Anonymous,

Allselected function will respond with selections. If you not pick up any date range on the filter, the formula will return the min and max date from whole calenda table.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous , is it also possible to get the selected value from one visual?

 

I want to get the selected dates in one visual, visuals are not synchronised and are drilled down on their own. The date field is used in more than 1 visual.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors