Forum Discussion

Matho101's avatar
Matho101
New Member
4 years ago
Solved

Time intelligence - Month and Year Issue

Hi,

 

New user so apologies for the ignorence. 

 

I am looking at using time intelligence to calculate Sales performance for Year on Year (total) & also Month vs Month. 

 

Problem is my sales data doesn't have a date column i.e sales have been grouped per month and per year.  When I try convert these to a time/date format is does not allow me to.  So data type remains as 'Text' for Month and 'Whole Number' for Year.  This means my time analysis DAX formulation doesn't work. 

 

Any suggestions?

 

 

  • Hi, Matho101 ;

    You could create a column as follow:

    Column = MONTH ( [MONTH] & " 1" )

    The final output is shown below:

    Or create a column :

    date = DATE([YEAR], MONTH ( [MONTH] & " 1" ),1)

    The final output is shown below:

     


    Best Regards,
    Community Support Team_ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

4 Replies