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
SirArthur
Frequent Visitor

100% Stacked area Chart ?

Hi guys, How can I create a 100% Stacked area Chart  by week? 

1 ACCEPTED SOLUTION

Hi @SirArthur,

 

Based on my test, I can only create a visual like this that is not exact same as yours.

 

111.png

 

Here I created four measures as below.

 

Very good = CALCULATE(COUNT(Table1[cali]),Table1[cali]=1)/COUNTROWS(Table1)
Good = CALCULATE(COUNT(Table1[cali]),Table1[cali]=2)/COUNTROWS(Table1)
Bad = CALCULATE(COUNT(Table1[cali]),Table1[cali]=3)/COUNTROWS(Table1)
Very bad = CALCULATE(COUNT(Table1[cali]),Table1[cali]=4)/COUNTROWS(Table1)

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/s0x7byvpp3ysf84/Stacked%20area%20Chart.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
SirArthur
Frequent Visitor

Hi guys, I need create a 100% stacked area char like this:100 Stacked area chart Power bi.png

This table count the rating column per week(1,2,3,4).

It is a percentage of the rating, Legend: 1 - Very good, 2 - Good,  3 - Bad, 4 - Very bad. 

 

 

My table have 2 columns. Column 1 is date and 2 column is rating like this:


Tabla y columnas.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I have been told that it is impossible, but I believe that everything is possible with Power Bi. Thanks for the help.

 

Regards.

 

Hi @SirArthur,

 

Based on my test, I can only create a visual like this that is not exact same as yours.

 

111.png

 

Here I created four measures as below.

 

Very good = CALCULATE(COUNT(Table1[cali]),Table1[cali]=1)/COUNTROWS(Table1)
Good = CALCULATE(COUNT(Table1[cali]),Table1[cali]=2)/COUNTROWS(Table1)
Bad = CALCULATE(COUNT(Table1[cali]),Table1[cali]=3)/COUNTROWS(Table1)
Very bad = CALCULATE(COUNT(Table1[cali]),Table1[cali]=4)/COUNTROWS(Table1)

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/s0x7byvpp3ysf84/Stacked%20area%20Chart.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @SirArthur,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case please.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

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.