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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yetao1-msft
Community Support
Community Support

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
v-yetao1-msft
Community Support
Community Support

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors