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
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
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.