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
Hi,
I have been trying to filter out rows that contain 2 specific values from one column each. I try to use the filter option with and as per the below formula
= Table.SelectRows(#"Removed Columns1", each ([Order Number] <> "PC112936" and [Invoice Date] = #date(2020, 4, 14)))
but instead of deleting rows when both values appear; power query is deleting them individually; so delete any [Order Number] <> "PC112936" or [Invoice Date] = #date(2020, 4, 14)
Could please provide some help?
Solved! Go to Solution.
Hi @MarioCadena
If I understand it correctly, you are trying to remove rows containing [Order Number] = "PC112936" and [Invoice Date] = #date(2020, 4, 14), select the rest rows, have a try:
= Table.SelectRows(#"Removed Columns1", each [ a =[Order Number] = "PC112936" and [Invoice Date] = #date(2020, 4, 14), b = a = false][b])
Hi @MarioCadena
If I understand it correctly, you are trying to remove rows containing [Order Number] = "PC112936" and [Invoice Date] = #date(2020, 4, 14), select the rest rows, have a try:
= Table.SelectRows(#"Removed Columns1", each [ a =[Order Number] = "PC112936" and [Invoice Date] = #date(2020, 4, 14), b = a = false][b])
Hi @MarioCadena
Just create 2 separate filter steps?
Regards
Phil
Proud to be a Super User!
 
					
				
				
			
		
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 | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |