Forum Discussion

dwyermf's avatar
dwyermf
Regular Visitor
6 years ago
Solved

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
  • You could add a calculated colmn to your table of 

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

    Then pull that into your visual.

1 Reply

  • You could add a calculated colmn to your table of 

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

    Then pull that into your visual.