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

View all the Fabric Data Days sessions on demand. View schedule

Reply
GPetroff
Regular Visitor

How to capture the filtered DATE value for further analytics

Hi All,

 

I do have a dashboard with a date filter.

 

I need to take the user selected beg date and end date to manipulate/transform one complex table.

 

Question: is there an easy way to refer to the existing filter/slicer object and use that dates when building new queries?

 

Thank you.

 

Sincerely

George

1 ACCEPTED SOLUTION

That's Power Query, you won't be able to get anything from the slicers in that, you'll need to use DAX. At the time power query is run, during data load, the slicers basically don't exist so there will be no selections made

 

View solution in original post

4 REPLIES 4
GPetroff
Regular Visitor

Hi Johnt75,

 

This is a great step. I used Record.Field(Table.Min(#"dateTable","DateField"),"DateField") and I am getting the min value from the date table, however, not the minimum selected date value. 

That's Power Query, you won't be able to get anything from the slicers in that, you'll need to use DAX. At the time power query is run, during data load, the slicers basically don't exist so there will be no selections made

 

Thank you for xplaining the logic

johnt75
Super User
Super User

You can use MIN('Date'[Date]) and MAX('Date'[Date]) to get the values. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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