Forum Discussion
Anonymous
7 years agoNot applicable
Format a text value to look like a date value in DirectQuery
Hello everyone, I have a DQ model, which means I can't use the FORMAT function. I needed to create a calculated column of type "Text" to store a bucket of date values, along with a text value of ...
- 7 years ago
Hi Anonymous
I can reproduce your problem.
Please create columns
Column = MONTH([Week Due])&"/"&DAY([Week Due])&"/"&YEAR([Week Due]) Week Due Bucket2 = IF([This Week] > [Week Due], "Past Due", [Column])
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-juanli-msft
7 years agoCommunity Support
Hi Anonymous
I can reproduce your problem.
Please create columns
Column = MONTH([Week Due])&"/"&DAY([Week Due])&"/"&YEAR([Week Due]) Week Due Bucket2 = IF([This Week] > [Week Due], "Past Due", [Column])
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
7 years agoNot applicable
Perfect, thanks Maggie!