Forum Discussion
Table Nested Joint - where clause
Hello again
I'm really stuck and would appreicate any kind of support helping me to advance.
Maybe my question was not clear, please let me know if this is the case...
thanks
- patator358 years agoFrequent Visitor
Ricardo
thanks for your support.
2 reasons :
- i use the year table for other queries and don t want to prefilter it
- I will use this "year sales" table to add 3 columns in the "target" table (containing the nested join fonction) : 2015 sales | 2016 sales | 2017 sales
- ricardocamargos8 years agoContinued Contributor
Doesn`t it work if you just create a filtered copy (you don`t need to filter the base table) ?
Ricardo
- Ashish_Mathur8 years agoSuper User
Hi,
Share a dataset and show the expected result.
- patator358 years agoFrequent Visitor
Table.NestedJoin(#"Valeur remplacée",{"ID_Target"},Targets_Data_Year,{"ID_Target"},"Targets_Data_Year",JoinKind.LeftOuter)
= Table.ExpandTableColumn(#"Requêtes fusionnées3", "Targets_Data_Year", {"Year", "Qty"}, {"Targets_Data_Year.Year", "Targets_Data_Year.Qty"})
Here is the final table that will be loaded in Excel (and will be used as source for a pivot table) :
Here is the table containing sales per year ("Targets_Data_Year"):
Here is the table containing sales targets ("Targets") - I want to add column 2014,2015,2016... (containing qty/sales of the above table)