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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
maurcoll
Helper IV
Helper IV

Dynamic title using a date slicer

Hi

 

I need help creating a dynamic title slicer that uses the date slicer set at between

maurcoll_0-1778052276048.png

 

 

I need for example

Total Sales 1 Jan 2025 - 31 Dec 2025 based on the selection made in the slicer

 

date is coming from a calendar table, sales is from the sales table

I have tried using selected value but it only returns the text part not the date

 

2 ACCEPTED SOLUTIONS
krishnakanth240
Resident Rockstar
Resident Rockstar

Hi @maurcoll 

Can you try this measure in card visual and check based on slicer selection

 

Dynamic Title =

"Total Sales " & FORMAT(MIN('Calendar'[Date]), "dd MMM yyyy") & " - " & FORMAT(MAX('Calendar'[Date]), "dd MMM yyyy")

View solution in original post

Ritaf1983
Super User
Super User

Hi @maurcoll 

Titte = "Total sales " & format ( min(calendar_table[Date]), "dd mmm yyyy" )&  " - "&  format ( MAX(calendar_table[Date]), "dd mmm yyyy" )

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @maurcoll 

Titte = "Total sales " & format ( min(calendar_table[Date]), "dd mmm yyyy" )&  " - "&  format ( MAX(calendar_table[Date]), "dd mmm yyyy" )

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
krishnakanth240
Resident Rockstar
Resident Rockstar

Hi @maurcoll 

Can you try this measure in card visual and check based on slicer selection

 

Dynamic Title =

"Total Sales " & FORMAT(MIN('Calendar'[Date]), "dd MMM yyyy") & " - " & FORMAT(MAX('Calendar'[Date]), "dd MMM yyyy")

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 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.