Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello Everyone,
We are using a column which is date/time datatype. Which we need to use to create date column using the DAX expression with calculated column in Direct Query.
Joining date- 3/6/2021 4:18:56 PM
We want out put to be just date column like 3/6/2021 (Date datatype).
Below is what we tried,
Solved! Go to Solution.
Hi @Mahipal ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table. Click on Transform Data.
2.Create the custom column to convert the Date/Time column to Date type.
= Text.From(Date.Month([Joining date]))&"/"&Text.From(Date.Day([Joining date]))&"/"&Text.From(Date.Year([Joining date]))
3.The Date type custom is shown below.
Solved: Change date format in DIRECT Query Mode - not on l... - Microsoft Fabric Community
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mahipal ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table. Click on Transform Data.
2.Create the custom column to convert the Date/Time column to Date type.
= Text.From(Date.Month([Joining date]))&"/"&Text.From(Date.Day([Joining date]))&"/"&Text.From(Date.Year([Joining date]))
3.The Date type custom is shown below.
Solved: Change date format in DIRECT Query Mode - not on l... - Microsoft Fabric Community
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
is there any way of converting a text (2/3/2024) to date datatype in direct query mode
I don't seem to have problems with that?
item is a text type.
DATEVALUE(), REPT(),FORMAT() and few more functions are not working for Directquery mode.
Have you tried DATEVALUE() ? Or DATE() ?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |