Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello:
I have three Qlikview pivot tables that I'll call A, B and C. Please see the attached Word document for calculated dimensions and screenshots of the tables. I need to subtract like Product amounts (2018-Qx columns) in Table B from Table A and populate Table C with the results. I'm not sure where to start in order to do the calculation. It seems simple in concept, but code-wise perhaps not, but I could be wrong. Table A Product Amount - Table B Product Amount = Table C Product Amount.
In this case, with the screenshots you'll see, Table C should have 0 amounts for both quarters and for all products. This is a good thing because that means I had no variance in what was forecasted (Table A) and what was received and bucketed (Table B). I also have a problem getting the Product column for Table C in the same order as Tables' A and B, but the bigger problem is the calculation.
The "Order Quarter -->" is a label given to order_date_quarter for Table A and LF_effective_quarter for Table's B and C. There's one expression used for Table's A and B (not sure what's needed for Table C obviously) and they are included in the attached Word document. I've also attached sample data, appropriately scrambled, in case it's needed. The data used for Table's A and B are joined by Qlikview using project_id.
As always, any and all help and responses are appreciated. Thanks in advance.
I've resolved the issue by doing the following:
Problem solved.
I've solved the sort order problem by creating a Product Group table and then loading it in load order. I could still use some help though with the calculation, if anyone has any ideas.
As an FYI, there's one project_id that ties Table A to Table B and that is 14243. However, if needed, it would probably be best to use DM # from Table A and LF_project_ext_project_no from Table B. The value would be 88888888*.
My latest attempt has been the following expression.
Ignore
I've resolved the issue by doing the following:
Problem solved.
Test.
test