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
Navaneeth
Frequent Visitor

Dynamic Title

I have a date slicer where im selecting between dates , however even when im selecting two dates from the slicer i m unable to get the dynamic title to show the title from which date to which date the data has been selected . 

 

I wanted to show that on a card or any other visual when ever i select the date , i should see the selected dates 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Navaneeth 

Create a calendar date first . 

Table = ADDCOLUMNS( CALENDAR(DATE(2022,12,1),DATE(2023,1,6)),"Value",MONTH([Date])+DAY([Date]))

Then create a measure to return the Min date and Max date .

Dynamic Title = "Between "& MIN('Table'[Date]) & " and " &MAX('Table'[Date])

Add the measure in custom value in visual .

Ailsamsft_0-1672991925290.png

The final result is as shown below .

Ailsamsft_1-1672991991325.png

 

Best Regards,
Community Support Team _ Ailsa Tao
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

4 REPLIES 4
Anonymous
Not applicable

Hi @Navaneeth 

Create a calendar date first . 

Table = ADDCOLUMNS( CALENDAR(DATE(2022,12,1),DATE(2023,1,6)),"Value",MONTH([Date])+DAY([Date]))

Then create a measure to return the Min date and Max date .

Dynamic Title = "Between "& MIN('Table'[Date]) & " and " &MAX('Table'[Date])

Add the measure in custom value in visual .

Ailsamsft_0-1672991925290.png

The final result is as shown below .

Ailsamsft_1-1672991991325.png

 

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

Navaneeth
Frequent Visitor

multple slicer selection.PNG

@Navaneeth hi, what code do you have for the measure at the moment?

tamerj1
Super User
Super User

Hi @Navaneeth 
If you don't have complete contiguous dates then you need to use a date table for the slicer.

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.