- 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

Show Date Slicer results in Text box ordered by Year then Month.
Hello all,
I have trawled the forum looking for an answer but haven't found quite what I need, therefore I am hoping someone can help me directly please.
I have a slicer which shows the Year and Month. Users can select multiple months.
I want to display the results in a text box showing the Year(1) and associated months and Year(2) and associated months e.g.
2023: November, December
2024: January
I've seen many ways of concatonating the months which I've got working, but the years are then out of order
For example:
I've also tried using Min(month) and Min(year) & Max(month) and Max(year) but this results in e.g.
"January 2023 to December 2024"
How can I achieve the desired result please? Many thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous , Try to avoid auto date hierarchy.
Measure =
var _max = maxx(allselected(Child), Child[data.startDate])
var _min = minx(allselected(Child), Child[data.startDate])
return
format(_min, "mmmm-yyyy") & " to " & format(_max, "mmmm-yyyy")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous , Try to avoid auto date hierarchy.
Measure =
var _max = maxx(allselected(Child), Child[data.startDate])
var _min = minx(allselected(Child), Child[data.startDate])
return
format(_min, "mmmm-yyyy") & " to " & format(_max, "mmmm-yyyy")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks so much. Simple when you know how!!
Works perfectly 🙂

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 | |
---|---|---|---|
04-01-2024 07:17 PM | |||
12-28-2023 05:16 PM | |||
06-28-2024 04:58 AM | |||
12-11-2023 03:11 AM | |||
02-14-2022 12:28 AM |
User | Count |
---|---|
90 | |
82 | |
57 | |
41 | |
39 |