March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear all,
I am using the below measure to display the filtered dates on my report. Without formatting the dates the values are returning the right dates. However, when I added the FORMAT functionality wrong dates are getting displayed, not the ones that are filtered. Any help on how to format dates in measure? Thank You
Solved! Go to Solution.
@RaffiKouzoudj , First take Min/Max and then format. Because if you take it before it going to be text Min/Max
From_To_Date =
var _max = FORMAT(maxx(allselected('Dates'), Dates[Date]),"dd-mmm-yyyy")
var _min = FORMAT(minx(allselected('Dates'), Dates[Date]),"dd-mmm-yyyy")
return
"From " & _min & " to " & _max
@RaffiKouzoudj , First take Min/Max and then format. Because if you take it before it going to be text Min/Max
From_To_Date =
var _max = FORMAT(maxx(allselected('Dates'), Dates[Date]),"dd-mmm-yyyy")
var _min = FORMAT(minx(allselected('Dates'), Dates[Date]),"dd-mmm-yyyy")
return
"From " & _min & " to " & _max
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |