Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Create a new table from existing table with multiple filters

Hello, I'm trying to create a new table from an existing table, but on two columns I would like a filter applied: Column OTIF="Y" and column DG or Config =notblank   I am now using the following f...
  • jdbuchanan71's avatar
    5 years ago

    Anonymous 

    You can apply multiple filters like this.

    Table =
    SELECTCOLUMNS (
        FILTER ( 'OTIF', 'OTIF'[Ship set flag] = "Y" && NOT ISBLANK ( 'OTIF'[Config] ) ),
        "Ship set flag", OTIF[Ship set flag],
        "Ship set ID", OTIF[Ship set ID],
        "Order number", OTIF[Order Number],
        "DG or Config", OTIF[DG or Config]
    )