Forum Discussion
Dunner2020
5 years agoPost Prodigy
Converting DAX code into M
Hi there, I have a column which I created using the DAX function. I wanted to create the same column in the power query editor (and want to get rid of the column created using DAX). Month Numb...
- 5 years ago
Try the conditional column and assign your appropriate value. The below image is just an example.
If it helps, mark it as a solution
Kudos are nice too
amitchandak
5 years agoSuper User
Dunner2020 , same thing as been done and explained nicely in this article -https://www.thebiccountant.com/2018/02/15/generic-switch-function-query-editor-in-power-bi-and-power-query/