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

Chart with multiple line and columns

dear All,

I'm trying to build a chart that presents planed vs accomplished revenues and compare them year by year, something similiar to the chart below where:

dashed lines presents planed revenues in two years

columns represents accomplished revenues in two years

chart.PNG

As for now i managed to build chart that is below but i can't add another line:

chart2.PNG

Below is my data. Can anyone please help me to build desired chart?

data.PNG

 

Best regards

1 ACCEPTED SOLUTION
Gordonlilj
Solution Sage
Solution Sage

Hi,

 

Just to clarify, do the lines each represent a year, so one dashed line is the accomplishment for 2018 and the other for 2019. If that's the case than you could just create two calculated columns like

accomplished2018 = if(Sheet1[Budgettype] = "Budget 2018",Sheet1[Accomplisment])

accomplished2019 = if(Sheet1[Budgettype] = "Budget 2019",Sheet1[Accomplisment])

And then just add both of them to line values

 

View solution in original post

2 REPLIES 2
Gordonlilj
Solution Sage
Solution Sage

Hi,

 

Just to clarify, do the lines each represent a year, so one dashed line is the accomplishment for 2018 and the other for 2019. If that's the case than you could just create two calculated columns like

accomplished2018 = if(Sheet1[Budgettype] = "Budget 2018",Sheet1[Accomplisment])

accomplished2019 = if(Sheet1[Budgettype] = "Budget 2019",Sheet1[Accomplisment])

And then just add both of them to line values

 

Anonymous
Not applicable

Thank you very much, that's the solution that i was looking for!

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.