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
Pikachu-Power
Post Prodigy
Post Prodigy

Relative Date in a Title

Hello.

 

I have a relative date slicer on a filter pane. because it is a little bit hidden I want to show it a title or on the canvas. is that posibble? or do i have to put the slicer on the canvas?

 

Thanks. 

5 REPLIES 5
amitchandak
Super User
Super User

I was thinking about a title that shows me what is filtered... last 3 weeks, last 5 year... everything that is possible with relative date 🙂 

@Pikachu-Power 

How about creating a measure like below and put it in a card visual?

 

Date Range = FIRSTDATE('Calendar'[Date]) & " - " & LASTDATE('Calendar'[Date])

Date Range 2 = "Last " & DATEDIFF(FIRSTDATE('Calendar'[Date]),LASTDATE('Calendar'[Date]),DAY) & " Days"

 

 10221.jpg

 

Best Regards,

Community Support Team _ Jing Zhang

If this post helps, please consider Accept it as the solution to help other members find it.

 

Good approach. Is it also possible to write dynamic days/month/year? And there is more possibilities as last.

 

Actually i would like to put the relative date on the canvas but there is still no possibility to control the beginning of the week. I would like to see a calender week from monday to sunday.

Anonymous
Not applicable

@Pikachu-Power  you can put the slicer on the canvas or if you want to use a dynamic title then use the below measure 

//Title=CONCATENATE("The selected value is",SELECTEDVALUE(Orders[City]))

Change Orders[City] with respect to your data 
Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍

 

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.