Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a table of 3 columns: Month, Value and Date
I wanted to create an interactive title using the selected Month from a slicer, so to show a specific Month if only one month is selected or the latest month if multiple months are selected.
I tried the following but the YTD doesn't go to the latest Month, although the column Month is sorted by the date column:
Thanks in advance
Solved! Go to Solution.
@miriammmattar
You can force the month with this:
Proud to be a Super User!
Hi,
Could you show what your measure is returning? When I tried to re-create the issue I got the desired value without any issues.
Proud to be a Super User!
Thanks @ValtteriN for your reply, if i put date or numbers like u did it comes correct but if i put months short name i get this
Hi,
In that case this might work:
1. Sort your monthname by monthnum:
2. use calendar table instead of Table for the values
3. This DAX worked for me:
Proud to be a Super User!
@ValtteriN Just tried that I think the logic goes as per the first alphabet only, I selected Sep, Oct and Nov and yest it showed Nov but if you select as well Jul & Aug it shows Aug insteda of Nov, can you try your end selecting those months as well and let me know if it still works? thanks
@miriammmattar
You can force the month with this:
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |