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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

...

 


Follow on LinkedIn
@ 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.