Forum Discussion
Converted Date Field (Incorrect Day Showing)
- 3 years ago
I was able to resolve my date issue. The below process was used in power query. Thanks again for your insights.
1) Changed source field to TEXT
2) Created a custom column and used M-code // Text.BeforeDelimiter([ACEFDT], " ")) //
3) Changed new column to Date format
Try this:
Effective Date = DATE(LEFT(AISCVGP[ACEFDT],4),MID(AISCVGP[ACEFDT],5,2),RIGHT(AISCVGP[ACEFDT],2))
- wnicholl3 years agoResolver II
Thanks for the reply. Unfortunately the formaula is not working for me.
- grantsamborn3 years agoSolution Sage
Hi wnicholl
Sorry about that. How about this?
Effective Date = DATE( VALUE( LEFT( AISCVGP[ACEFDT], 4) ), VALUE( MID( AISCVGP[ACEFDT], 5, 2) ), VALUE( RIGHT( AISCVGP[ACEFDT], 2) ) )- wnicholl3 years agoResolver II
I was able to resolve my date issue. The below process was used in power query. Thanks again for your insights.
1) Changed source field to TEXT
2) Created a custom column and used M-code // Text.BeforeDelimiter([ACEFDT], " ")) //
3) Changed new column to Date format