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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
stuross1129
Frequent Visitor

Get min and max values from date slicer

I am trying to retrieve the 2 date values used in my slicer and use in a Title text string.  What I can't figure out is how to pull the 2 date values from my slicer?  Note that I do not want to pull the minimum and maximum values from the underlying table with the date column, I want to pull the dates as selected in the slicer.

 

In this example if I select 1/1/2018 as the 1st date, the first date in my table is actually 1/7/2018.  I want to be able to get the 1/1/2018 date value, not the 1/7/2018 value in my data.  Think of it as what is the start and end of the reporting period.

 

 

dateslicer.png

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @stuross1129,

 

Suppose you drag date field from date dimention table into slicer, to get the Max and Min date values from slicer selection, please create below measures:

MaxDate=MAX(DateDimention[Dates])

MinDate=MIN(DateDimention[Dates])

 

But if you want to show them dynamically in a Title Text, it is not available.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @stuross1129,

 

Suppose you drag date field from date dimention table into slicer, to get the Max and Min date values from slicer selection, please create below measures:

MaxDate=MAX(DateDimention[Dates])

MinDate=MIN(DateDimention[Dates])

 

But if you want to show them dynamically in a Title Text, it is not available.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.