Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
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 formula, but that only includes 1 filter: SELECTCOLUMNS(FILTER('OTIF','OTIF'[Ship set flag]="Y"),"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])
Thanks for your help!
Solved! Go to Solution.
@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]
)
 
					
				
		
I have an almost similar thing, but now instead of a second filter with ISBLANK I need to add 2 filters on the same column, so in total I have 3 filters, is that possible?
FILTER(OTIF,OTIF[Ship set flag]="Y"
FILTER(OTIF,OTIF[Line status]="Awaiting_Supply"
FILTER(OTIF,OTIF[Line status]="Supply_Partial"
Total formula I have now but wasn't working:
Shipset Y&Line status = SELECTCOLUMNS(FILTER(OTIF,OTIF[Ship set flag]="Y") && FILTER(OTIF,OTIF[Line status]="Awaiting_Supply",
@Anonymous
That one you can do using IN.
Shipset Y&Line status =
SELECTCOLUMNS (
    FILTER ( 'OTIF', 'OTIF'[Ship set flag] = "Y" && OTIF[Line status] IN {"Awaiting_Supply", "Supply_Partial"} ),
    "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]
)@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]
)
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |