Forum Discussion
EladAppelNN
3 years agoFrequent Visitor
Create new query based on parameters
Hi, Lets say I have a table/query for products, and a table/query for countries query1 | query2 Product | Countries -Tomato | ...
sendilc
3 years agoFrequent Visitor
Hi,
Pls create 2 tables Products and Countries and then use the below PQ
let
Source = Product,
#"Added Custom" = Table.AddColumn(Source, "Custom", each Countries),
#"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Countries"}, {"Countries"})
in
#"Expanded Custom"
Regards
- EladAppelNN3 years agoFrequent Visitor
Thanks for the detailed explanation, where should this be enterred? asa new custom column?