Forum Discussion
Month Name
- 9 years ago
Then you can try adding a conditional column with if [MonthNo] = 1 then [MonthName] = "JAN" for every one month.
- 9 years ago
In Direct Query mode, all direct format approach with DAX/POWER QUERY will not work. You can only use SWITCH() to get the Month Name as ausrine suggested.
Regards,
Hi Manivannan,
You can do it manually, using:
MonthName =
SWITCH (
Table[MonthNo],
1, "JAN",
2, "FEB",
3, "MAR",
4, "APR",
5, "MAY",
6, "JUN",
7, "JUL",
8, "AUG",
9, "SEP",
10, "OCT",
11, "NOV",
12, "DEC",
BLANK ()
)Cheers,
Ausrine
- Manivannan9 years agoHelper I
Hi Ausrine,
I have used direct query for this.
How to use your solution in direct query?
Regards,
Manivannan M
- ausrine9 years agoFrequent Visitor
Then you can try adding a conditional column with if [MonthNo] = 1 then [MonthName] = "JAN" for every one month.
- lravikiran7 years agoHelper I
You should have written the full formula . :manhappy:
- v-sihou-msft9 years agoMicrosoft Employee
In Direct Query mode, all direct format approach with DAX/POWER QUERY will not work. You can only use SWITCH() to get the Month Name as ausrine suggested.
Regards,