Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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 

 

Capture.JPG

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

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

line.PNG

Best Regards,

Icey

 

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

 

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Anonymous ,

 

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

line.PNG

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
Not applicable

Thank you very much!!

Greg_Deckler
Super User
Super User

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

...

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.