Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create a line chart

Sorry if this is too elementary for the forum, but I am having difficulty creating what I thought would be an easy line chart. I have created it in Excel previously, but wanted to convert to Power BI. Any assistance is greatly appreciated.  Example data is below.

 

 20172018Jan FebMarAprMayJunJulAugSepOctNovDecRRYTDYE EstimateYoY 
Equipment $ 1,721,134 $ 1,431,589 $ 103,937 $   70,845 $ 101,801 $   82,148 $   89,361 $ 184,363 $ 104,676 $ 121,039     $ 254,418 $    858,171 $ 1,875,84231%
Service   $ 268,921 $ 268,943 $ 333,308 $ 346,741 $ 252,655 $ 279,932 $ 237,840 $ 303,724     $ 286,508 $ 2,292,064 $ 3,438,096 

 

  • Hi Anonymous ,

     

    You can use "UnPivot" firstly. This is my PBIX file.

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

4 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    If your data is in that format, you will want to unpivot your month columns or something to get it more into a format like:

     

    Type,Month,Value

    Service,Jan,xxxx

    Equipment,Jan,yyyy

    ...

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks. I am not sure why that did not occur to me. 

  • Icey's avatar
    Icey
    Community Support

    Hi Anonymous ,

     

    You can use "UnPivot" firstly. This is my PBIX file.

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you very much!!