HarveyH123
New Member
- Joined
- Feb 18, 2017
- Messages
- 8
Hello,
I want to create a query that uses a paramater taken from my excel worksheet.
i have managed to do this with this code;
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Filtered Rows" = Table.SelectRows(Source, each ([StepTag] = GetValue("Filter")))
in
#"Filtered Rows"
However, i want the code to only filter if the cell (named *filter*) is not blank.
i.e. I dont want to filter at all if the cell in blank.
Hope this makes sense.
Thank you,
I want to create a query that uses a paramater taken from my excel worksheet.
i have managed to do this with this code;
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Filtered Rows" = Table.SelectRows(Source, each ([StepTag] = GetValue("Filter")))
in
#"Filtered Rows"
However, i want the code to only filter if the cell (named *filter*) is not blank.
i.e. I dont want to filter at all if the cell in blank.
Hope this makes sense.
Thank you,