Forum Discussion

Betissa's avatar
Betissa
Helper I
9 years ago
Solved

remove lines from table

Hello everyone;
I created a new table from another table by the function SUMMURIZE.
The new table created contains empty fields;
My question: how can i remove the lines that contain empty fields from this table?

thank you very much in advance

 

 

 

 

  • Wrap your Table parameter with a FILTER.

     

    Table = SUMMARIZE(FILTER(Customers,Customers[Segment]="Segment2"),Customers[Segment],"Sum ID",SUM(Customers[CustomerID]))

    Only returns Customers in "Segment2".

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Wrap your Table parameter with a FILTER.

     

    Table = SUMMARIZE(FILTER(Customers,Customers[Segment]="Segment2"),Customers[Segment],"Sum ID",SUM(Customers[CustomerID]))

    Only returns Customers in "Segment2".