Hi,
I have one requirement where I need count the number of records from the lookup table.
Could someone please let me know any function to find the solution for this:
Lookup table:
Header 1 | Header 2 | Header 3 |
---|---|---|
1000 | A | x |
1000 | B | y |
2000 | C | z |
Source Table:
Header 4 | Header 5 | Header 6 | Count |
---|---|---|---|
1 | 1000 | X | |
2 | 2000 | Y | |
3 | 3000 | Z |
Target Table:
Header 4 | Header 5 | Header 6 | Count |
---|---|---|---|
1 | 1000 | X | 2 |
2 | 2000 | Y | 1 |
3 | 3000 | Z | 0 |
Source table will lookup in to lookup table by joining Header 5 and Header 1 and get the count.
Thanks !