Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

% graph by month

Hello Power BI community,

 

There is a data that I am working with , one of the column has value  <1.33 or >1.33

The count graph looks like this,

Cpk count graph.PNG

 

But target graph is percentage of >1.33 and <1.33 by month. When I try using GT% it gives % of a ummulative but not by month.

Cpk GT% graph.PNG

 

Can I please get help on how to get the % by month?

Thank You,

Rushi Sathi

1 ACCEPTED SOLUTION

@Anonymous 

 

I assume you have the calendar table and build relationship with the tale you shared.

 

1.PNG

Measure = 
VAR _count=COUNTROWS('Table')
VAR _count2= CALCULATE(COUNTROWS('Table'),ALLEXCEPT(datetime,datetime[month]))
return _count/_count2

2.PNG





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

Proud to be a Super User!




View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@Anonymous , I did not get it completely , See if this can help

https://radacad.com/showing-the-total-value-in-stacked-column-chart-in-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hello @amitchandak :

 

Thanks for the reply. But that is not what I am looking for.

 

Let me explain it with a simple example: 

 

Let there be a data table with a column "Result" saying yes or no. 

Whn I plot a graph with the column value "Count of Result", with the X-axis as month, then I get a graph showing how many "yes" and how many "no" per month. 

 

What I want is % instead of count, for example: January has 10 "yes" and 10 "no", the graph should say 50% "yes" , 50% "no". 

 

As per my understanding, we need a measure to do this,

I am just getting started with power bi, so not so sure how to do this.

 

Thanks in advance,

 

Rushi Sathi

@Anonymous 

 

1.PNG

 

Try this measure and put measure in the value field.

% = sum('Table'[value])/CALCULATE(SUM('Table'[value]),ALLEXCEPT('Table','Table'[month]))

2.PNG

Hope this is helpful.

 

 





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

Proud to be a Super User!




Anonymous
Not applicable

Hello @ryan_mayu :

 

You are so close. 

The way I have the data is a little different 

Capture.PNG

 

Can you please tell me how to do it with the data like this?

 

Thank you in advance,

 

Rushi Sathi

@Anonymous 

 

I assume you have the calendar table and build relationship with the tale you shared.

 

1.PNG

Measure = 
VAR _count=COUNTROWS('Table')
VAR _count2= CALCULATE(COUNTROWS('Table'),ALLEXCEPT(datetime,datetime[month]))
return _count/_count2

2.PNG





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

Proud to be a Super User!




@Anonymous , I doubt that is possible. Check on any idea for that and vote or create a new idea

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/32082391-totals-in-stacked-column-charts

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.