- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Table Nested Joint - where clause
Hello
I'm builing up a summary table of sales targets and past year sales.
I would like to add a column to my table containing sales of a pre-set year (ie 2015).
In the following formula, I would like to add a "where" clause :
= Table.NestedJoin(#"Valeur remplacée",{"ID_Target"},Targets_Data_Year,{"ID_Target"},"Targets_Data_Year",JoinKind.LeftOuter,)
..where Targets_Data_Year.Year="2015"
How can I do that ?
thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Share a dataset and show the expected result.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
have you managed to find a solution?
Something like this would benefit me so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Doesn`t it work if you just create a filtered copy (you don`t need to filter the base table) ?
Ricardo

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
08-05-2024 11:10 AM | |||
Anonymous
| 01-16-2022 04:55 AM | ||
04-05-2024 09:09 PM | |||
09-22-2023 03:16 PM | |||
03-15-2024 08:04 AM |
User | Count |
---|---|
141 | |
112 | |
83 | |
63 | |
47 |