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
VamsiP123
New Member

Line and Stacked area chart

Hello All,

Can anyone help me with creating combined line and stacked area chart. I came to know that there is no any default visual to accomplish this. Is there any alternate way to do this?

 

Thanks in advance!

6 REPLIES 6
KRISHP1234
Helper I
Helper I

KRISHP1234_0-1714655220164.png

you should try to off show for this series.

Hey @KRISHP1234  Thank you for looking into this. Actually I have multiple values and require to stack them as area chart and have separate value to show as line which should'nt stack in earlier one.

Hi @VamsiP123 ,

 

I don't know how many staked values you want to have but you can create one cumulative measure for each of the cumulative values and use a standard area chart and then you can add the other measures and for those remove the shaded area:

MFelix_0-1714658114697.png

 

Top one is the stacked area chart bottom one is the area chart, yo also need to do a custom tooltip probably to have the values separated.

 

Pbix file attach.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @VamsiP123 ,

 

You can try to do this using the Area chart that allows to have values on secondary axis and also to change the background for each line individually.

 

Can you share what is the expected outcome please.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hello @MFelix  Thank you for looking into this. I have tried this one but the value's are not stacking up. They are just showing like line chart with shaded on.

Hi @VamsiP123 ,

Be aware that you need to do different measures for the different levels to simulate the stack.

Cat A = Cat A values

Cat B = Cat B values + CAT A values

and so on.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.