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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
aks24
Regular Visitor

Sum selected values based on another column and present as subtotals for another/ third column

Hi All,

 

Fairly new to powerbi so this may seem like a basic question but I cant seem to get my head around it. I have the following dataset showing order, order type, order category and amount.  I want to do 2 things to present my table and chart visual.

 

1. I would like to do sum based on selected values of order type (multiple values; in this case A+B+C) and separately by D.

2. These sum totals need to be presented by order category in the visual.

 

Any help is greatly appreciated. Cheers

 

Sample Dataset:

OrderOrder typeOrder Categoryamount
123AShirt64654
23434BTee21465
345APants56465
5476APants68746
547BTee64654
342DShirt52465
8765DShirt54545
48DTee32415
2456CPants14533
2764DPants45646
68576DPants34563

 

Trying to achieve the following:

 

Capture.JPGCapture.JPG

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

You may download my PBI fille from here.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

You may download my PBI fille from here.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thankyou! It works perfectly. Didnt think of this solution. 🙂

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.