Forum Discussion

cbrandt's avatar
cbrandt
Regular Visitor
8 years ago
Solved

Summarize a Column Without Showing Total

I've looked through the forums and can't seem to find anything like this.  I want to group and summarize items in a column but as the numbers in some rows have nothing to do with numbers in others a ...
  • vcastello's avatar
    vcastello
    8 years ago

    Hi cbrandt

    Your approach is slightly wrong. You should try ...

     


    Measure = IF(HASONEVALUE(Table1[Quantity]),  SUM(Table1[Quantity]), BLANK())

    The formula can be read as ... If the total of values of the [Quantity] column of the Table1 is one then sum the quantity. If not then leave it BLANK. 

    In the totals there is no filter as in each of the rows of the visual you have placed. So ... it takes on account all of the values. Showing the total is prevented by using HASONEVALUE.

    Hope That Helps

    Vicente