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

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

Reply
Anonymous
Not applicable

create a percentage based on categories in multiple columns

so the data I have is similar to this;

categoryvolumedatetype
a1jangroup1
a4jangroup1
b12jangroup2
c2jangroup1
b7febgroup1
a9febgroup2
c10febgroup1
c4febgroup2
b8margroup1
c3margroup1
a1margroup1
a11margroup2

 

and I have a page level filter of type; group1. I would like a graph that represents the percentage of volume per category, per month. like this;

 
 
 

the best I have is;

measure=

divide(

Calculate(sum(table[volume]),allexcept(table,table[type],table[date])),

calculate(sum(table[volume]),allexcept(table,table[date])

)

 

the issue with this is that the allexcept function doesnt take into account filters. can anyone help with a solution?

thanks!

 
2 REPLIES 2
Anonymous
Not applicable

Picture1.png

 sorry the graph didnt attach properly the first time, I need it to be a percentage of the total per month but without loosing the filter. something like this;

 ABC
JAN71%0%29%
FEB0%41%59%
MAR8%67%25%
edhans
Super User
Super User

Can you be a bit clearer @Anonymous on what you need? Let's start with the table visual. Much easire to see what is happening then we can convert to a line or bar chart.

I have this right now:

edhans_0-1604423938166.png

But I am pretty sure that is not what you want. I see the measure you wrote, but you are just saying it doesn't work. if you could provide some expected output. Create a mockup in Excel using this data with the numbers you want and how the filter pane or slicers would/would not affect it it would be helpful. Screenshots for expected results is ok.

 

How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Kudoed Authors