Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
There are 2 dimensions "Product Store 1" and "Product Store 2" as below.
Both have same products but different IDs. Both the IDs exist in the FACT table.
Product Store 1 | |
Product ID Store 1 | Product Name Store 1 |
A | Apple |
B | Banana |
C | Carrot |
D | Dill |
Product Store 2 | |
Product ID Store 2 | Product Name Store 2 |
W | Apple |
X | Banana |
Y | Carrot |
Z | Dill |
FACT Table | ||
Product ID Store 1 | Product ID Store 2 | Sales |
A | W | 10 |
B | X | 5 |
C | Y | 20 |
D | Z | 60 |
B | Y | 5 |
C | X | 30 |
A | Z | 20 |
B | Y | 40 |
D | X | 10 |
C | Z | 90 |
A | W | 80 |
B | W | 30 |
Report Output | ||
Product Name Store 1 | Sales(Product ID Store 2) | Comments |
Apple | 120 | Sum of W's |
Banana | 45 | Sum of X's |
Carrot | 65 | Sum of Y's |
Dill | 170 | Sum of Z's |
Need help!!!
See attached example
sillytricksdepartment
Thank You... It works for QlikView.
Any thoughts on QlikSense?
Hi.. Thanks for the example.
It is really helpful.
Was wondering if this can be done at report level?
in Qlik Sense
Use the same script.