Forum Discussion

Tycobb479's avatar
Tycobb479
New Member
4 years ago
Solved

Historical line chart

Hello dear collaborators! I'd like to kindly ask for your help regarding the following: I have the below information and I would like to calculate the subtotals for A and B and then divide [(subtota...
  • dcrow5378's avatar
    4 years ago

    You can achieve this by rolling up the date to year month format, then creating a measure to perform the calculation:

     

     

  • MahyarTF's avatar
    4 years ago

    Hi,

    You could create the Month-Num column in your table as below :

    Month-Num = format(Sheet81[Date], "MM")
    And also 
    Value = DIVIDE( sum(Sheet81[A]), sum(Sheet81[B] ))
    then use the created column in your visuals :