- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Display a range of dates
Hi,
Need a tip if to do the following if it is possible.
I have date slicer and in card visual I need to display the selected range of dates in the slicer.
Thanks in advance for any help received to my requirement.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a Measure using either one of the Measures below they should give you some ideas how to tailor to your setup!
The second Measure allows you to use a custom Year-Mo column which is not formatted as Date.
You can modify these many other ways
In fact you can also use in conjunction with the FORMAT function!
Look at the Picture below to see the results...
Which way you decide to go will depend on how you aggregate your data.
Do you need to see the specific Dates or is Months only okay
Hope this helps!
Report FIRST/LASTDATE = FIRSTDATE('Calendar'[Date]) &" - "& LASTDATE('Calendar'[Date])
Report FIRSTNON/LASTNON 2 = IF ( FIRSTNONBLANK ( 'Calendar'[Year-Mo], 1 ) = LASTNONBLANK ( 'Calendar'[Year-Mo], 1 ), FIRSTNONBLANK ( 'Calendar'[Year-Mo], 1 ), FIRSTNONBLANK ( 'Calendar'[Year-Mo], 1 ) & " ~ " & LASTNONBLANK ( 'Calendar'[Year-Mo], 1 ) )
Report Period FORMAT = FORMAT(FIRSTDATE('Calendar'[Date]), "MMM yyyy") & " - " & FORMAT(LASTDATE('Calendar'[Date]), "MMM yyyy")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a Measure using either one of the Measures below they should give you some ideas how to tailor to your setup!
The second Measure allows you to use a custom Year-Mo column which is not formatted as Date.
You can modify these many other ways
In fact you can also use in conjunction with the FORMAT function!
Look at the Picture below to see the results...
Which way you decide to go will depend on how you aggregate your data.
Do you need to see the specific Dates or is Months only okay
Hope this helps!
Report FIRST/LASTDATE = FIRSTDATE('Calendar'[Date]) &" - "& LASTDATE('Calendar'[Date])
Report FIRSTNON/LASTNON 2 = IF ( FIRSTNONBLANK ( 'Calendar'[Year-Mo], 1 ) = LASTNONBLANK ( 'Calendar'[Year-Mo], 1 ), FIRSTNONBLANK ( 'Calendar'[Year-Mo], 1 ), FIRSTNONBLANK ( 'Calendar'[Year-Mo], 1 ) & " ~ " & LASTNONBLANK ( 'Calendar'[Year-Mo], 1 ) )
Report Period FORMAT = FORMAT(FIRSTDATE('Calendar'[Date]), "MMM yyyy") & " - " & FORMAT(LASTDATE('Calendar'[Date]), "MMM yyyy")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys ,
is it possible to show the actual slicer settings from an text slicer in an seperat Cart / Box .
Example: I chose the campaign "Campaings nr145" on my extra filter page.
Now i am searching for an Box where i can see the actuell settings of the campaign slicer with out showing the slicer bos again.
Thanks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to only show the date once when the range is the same date?
I tried using an if statement with your solution above then FIRSTDATE(date) as the other option but I keep getting #,0.00 when only one date is selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks for a great explanation and the examples.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
11-03-2024 07:03 AM | |||
01-27-2025 10:18 PM | |||
12-20-2024 01:44 PM | |||
10-05-2024 12:56 PM | |||
12-06-2024 10:35 PM |