cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
edlevud
New Member

100% stacked chart and line

Hello,

 

I would like to create a 100% stacked bar graph that inlcludes a line as well, is this possible?

 

 

example

1 ACCEPTED SOLUTION

Accepted Solutions
BetterCallFrank Resolver IV
Resolver IV

Re: 100% stacked chart and line

Hi @edlevud

see my example above, it can be done just like you want, but the stacked 100% needs to be a measure with a calculation similar to what i mentioned above.

 

post a screenshot of your data if you need help,

 

HTH,

Frank

View solution in original post

4 REPLIES 4
BetterCallFrank Resolver IV
Resolver IV

Re: 100% stacked chart and line

@edlevud you can use "stacked columns & lines" visual and make the calculation for the 100% in a measure.

for example

100pct = 
VAR Val1AllCats = CALCULATE( SUM( Table1[val1] ), ALL( Table1[cat] ) )
RETURN
DIVIDE( SUM( Table1[val1] ), Val1AllCats ) 

result

Screenshot at Jan. 03 15-15-18.png

 

 

your example is not showing unfortunately - can you show us something more?

 

 

Baskar Resident Rockstar
Resident Rockstar

Re: 100% stacked chart and line

Sorry dude.

 

right now we don't have that chart.

 

but we have

1. Line and Stacked column

2. Line and clustered column.

 

but we don't have in default chart in power bi

Highlighted
edlevud
New Member

Re: 100% stacked chart and line

HI Thanks for the replies will try again to upload my example...

 

Capture.PNG

 

BetterCallFrank Resolver IV
Resolver IV

Re: 100% stacked chart and line

Hi @edlevud

see my example above, it can be done just like you want, but the stacked 100% needs to be a measure with a calculation similar to what i mentioned above.

 

post a screenshot of your data if you need help,

 

HTH,

Frank

View solution in original post

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors