Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I have a table generated with the below just for slicers/filters. The table is set to dd/mm/yyyy format
Dates = CALENDAR(TODAY()+1, TODAY()+28)
I also have a measure that I want to use for a dynamic title
Title Date = var selecteddate = SELECTEDVALUE(Dates[Date]) return "Date: "& if(isblank(selecteddate), "All Dates", selecteddate)
Literally everywhere else in my report, dates are european style dd/mm/yyyy values but this one returns american mm/dd/yyyy.
Any ideas why and how to fix?
Thanks
Solved! Go to Solution.
Hi @scott3387 ,
Based on your formulas, I think you just want to show the selected date in a Card visual. If so, you could add a FORMAT function like below to show normally.
Note: The function of Format can convert values to text. So I change the condition of isblank(selecteddate) to selecteddate = "".
Title Date =
VAR selecteddate =
FORMAT(SELECTEDVALUE ( Dates[Date] ),"dd/mm/yyyy")
RETURN
"Date: " & IF ( selecteddate = "", "All Dates", selecteddate )
Hi @scott3387 ,
Based on your formulas, I think you just want to show the selected date in a Card visual. If so, you could add a FORMAT function like below to show normally.
Note: The function of Format can convert values to text. So I change the condition of isblank(selecteddate) to selecteddate = "".
Title Date =
VAR selecteddate =
FORMAT(SELECTEDVALUE ( Dates[Date] ),"dd/mm/yyyy")
RETURN
"Date: " & IF ( selecteddate = "", "All Dates", selecteddate )
i would just probably swap them around in power query are you importing the data in? so take that column and swap the month and days around in power query.
Proud to be a Super User!
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 40 | |
| 31 | |
| 18 | |
| 18 | |
| 15 |