Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have columns that are looked up from different source, so I had to convert them into text in order to be able to look them up. Then when they were looked up I did new column with text to date using "dd/mm/yyyy". But it randomly uses format mm/dd and dd/mm.
I want to have them all as "dd/mm/yyyy". I am lost.
Solved! Go to Solution.
Column = VAR _patch =SUBSTITUTE([Date],"/","|")
VAR _Result =
DATE(PATHITEM(_patch,3),PATHITEM(_patch,2),PATHITEM(_patch,1))
RETURN
if ( NOT ISBLANK([Date]),_Result,0)
Thank you for your time and helping me, Ahmad. I was able also to solve it with quicker (or easier) formula:
Submission = IF(
Source[Submission TEXT] = "",0,
DATE(
RIGHT(Source[Submission TEXT],4),
MID(Source[Submission TEXT],4,2),
LEFT(Source[Submission TEXT],2)))
But how do I do that in Dax? Lookup is done in Table tab in Dax, so I don't have these columns in Power Query.
To convert I used this formula:
Submission Date = IF(
Source[Submission TEXT] = "",0, DATEVALUE(FORMAT(Source[Submission TEXT], "DD/MM/YYYY")))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |