cancel
Showing results for
Did you mean:
Highlighted Helper II

## Combo Chart with multiple lines

Hi all,

I need your support and would be really grateful if someone is able to help!

Here the current stand: So the Bar charts represent the following:

Volumes in absolute numbers for a specific location (for example red is Berlin, yellow is London etc.)

The Line chart represents the performance outcome based on the total volumes for all locations in %.

So lets say the volume for week 12 is 50 000 the total performance for those 50 000 is 90%, HOWEVER the performance % for each location is different. So thats what I want to show - 6 line charts showing the performance % for each location for the given week.

Is this possible?

3 REPLIES 3
Highlighted Super User IV

## Re: Combo Chart with multiple lines

You want six line charts or a line chart with 6 lines?

---------------------------------------

Putting square pegs in round holes since 1972.

##### I have a NEW book! DAX Cookbook from Packt
Over 120 DAX Recipes!

Proud to be a Super User!

Highlighted Microsoft

## Re: Combo Chart with multiple lines

Hi @IPGeorgiev ,

We can use the following steps to meet your requirement.

1. Create measures like this, you can create six measures based on your demands.

``````A = IF("A" in DISTINCT('Table'[country]),CALCULATE(SUM('Table'[values]),'Table'[country] = "A") / CALCULATE(SUM('Table'[values])))

B = IF("B" in DISTINCT('Table'[country]),CALCULATE(SUM('Table'[values]),'Table'[country] = "B") / CALCULATE(SUM('Table'[values])))

C = IF("C" in DISTINCT('Table'[country]),CALCULATE(SUM('Table'[values]),'Table'[country] = "C") / CALCULATE(SUM('Table'[values])))``````

2. Then create a line and stacked column chart, and put the measures to line values. The result like this,  If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

BTW, pbix as attached.

Best regards,

Community Support Team _ zhenbw

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

Highlighted Helper II

## Re: Combo Chart with multiple lines

many thanks for the example and the details!

I have actually managed to solve this via quick measure and this is how it looks like:

``````Measure =
CALCULATE(
[KPI1%],
'Table1'[Location] IN { "LocationName" }
)``````

And I have created 6 measures like this and this actually solved the problem.

Best regards,
Ivan

Announcements #### Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members. #### Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start. #### Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries! Top Solution Authors
Top Kudoed Authors
Users online (2,082)