Forum Discussion

Manivannan's avatar
Manivannan
Helper I
9 years ago
Solved

Month Name

Hi All,   I have created a direct query to display month. But it is displaying in numbers. This is the query i used : "DATEPART("MONTH" , [AxDB].[dbo].[CUSTINVOICETRANS].[INVOICEDATE]) as Month," ...
  • ausrine's avatar
    ausrine
    9 years ago

    Then you can try adding a conditional column with if [MonthNo] = 1 then [MonthName] = "JAN" for every one month. 

  • v-sihou-msft's avatar
    v-sihou-msft
    9 years ago

    Manivannan

     

    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,