Hi,
How can I add if function to below code? I want if parameter value (yonetici=All ) is equal "ALL" don't filter or filter all esle filtering by parameter value as below. Is it possibe in Power Query?
Filter by paramert values with if conditions
How can I add if function to below code? I want if parameter value (yonetici=All ) is equal "ALL" don't filter or filter all esle filtering by parameter value as below. Is it possibe in Power Query?
Filter by paramert values with if conditions
Code:
let
Source = Table.Combine({#"770 Оборот (2)", #"770 Оборот (1)"}),
yonetici = fnGetParameter("Yonetici"),
#"Filtered Rows1" = Table.SelectRows(Source, each ([Yonetici] = yonetici))
in
#"Filtered Rows1"