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
dwyermf
Regular Visitor

Grouping figures using Filter on another column

Looking to create a measure to sum the figures in the Tonnes column based on filter of "HG" and "LG" in the Stockpile column. 

 

STOCKPILETONNES
503 - HG10000
503 - LG15000
504 - HG10000
504 - LG15000
505 - LG15000
508 - LG10000

 

Looking to create the below,

STOCKPILETONNES
LG55000
HG20000
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

You could add a calculated colmn to your table of 

Group = RIGHT ( 'Table'[STOCKPILE], 2 )

Then pull that into your visual.

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

You could add a calculated colmn to your table of 

Group = RIGHT ( 'Table'[STOCKPILE], 2 )

Then pull that into your visual.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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