Forum Discussion
Date format and table layouts
No it wont. Think of the "Edit Query" screen as a place to prepare the data prior to it being loaded DAX and having the "Manage Relationships" kick in. There are often times where doing things in DAX or Power Query will give you the same result, so which ever one you choose is up to you. If you need the changes to be inside your Edit Queries area, you would need to take the same Idea in that Dax expression and find the power Query equivilent.
I'm sure many of us can help with that. I'll try, i just didn't have time prior to clicking 'Post' on this response.
- Anonymous9 years agoNot applicable
Ok try this. Go into Query Editor and select Custom Column. You should get a pop up window that lets you name the column and has a box with "=" in it. Place in
Date.FromText(Text.Range([OLDDATE], 0, 4) & "-" & Text.Range([OLDDATE], 4, 2) & "-01")
Then all you need to do is highlight [OldDate] and click on the correct fields from the field picker. Just make sure you don't remove a comma by accident.