Jeffrey Mahoney
Well-known Member
- Joined
- May 31, 2015
- Messages
- 3,277
- Office Version
- 365
- Platform
- Windows
I created a Query to bring in data from a CSV file. Working well. I added another query called Trans_ID_Filter that simply uses a cell to pass a variable to the main query. It works well, except when I want to NOT filter on that criteria. Meaning, when the cell is blank, I want to select all the records. My plan is to create criteria for many of the fields
Can I add an IF statement to test if the Trans_ID_Filter value is null?
= Table.SelectRows(#"Changed Type", each ([TRANS_ID] = Trans_ID_Filter))
Can I add an IF statement to test if the Trans_ID_Filter value is null?
= Table.SelectRows(#"Changed Type", each ([TRANS_ID] = Trans_ID_Filter))