Forum Discussion
DAX FORMAT() date/time formatting problem
Hi Anonymous ,
Please have a try.
Change the custom column in the Model.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years agoNot applicable
Thanks Polly,
I forgot to mention a crucial detail: this column is a measure, as described in the blog post that I linked to in my question.
It seems that measures cannot be formatted with the method you've described - the 'Format' is set to Text and cannot be changed.
Here is the measure:
CreatedRegional =
var formatter = SELECTEDVALUE('Date Formats'[Format])
var source_date = SELECTEDVALUE(Issues[CREATED])
RETURN
FORMAT(source_date, formatter)- Anonymous3 years agoNot applicable
Hi Anonymous ,
We really can't modify the type of measure. Please try to use column or you can create an idea here.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.