Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
bushpalaamarnat
Creator
Creator

calculation of brand and site level inventory

Hi all,

I need help in how to project the data in qlikview. the objective is to show % of Site Net Inventory

following is total inventory by site:

  

SiteNet Inventory
UK1000
FR200
PO110
CA2400
US250
SP

1900

Following is the total inventory by brand per site

  

Brand- SiteNet Inventory
Brand A - UK190
Brand B - UK60
Brand C - UK90
Brand D - UK40
Brand A - FR12
Brand B - FR40
Brand C - FR19
Brand D - FR31
Labels (1)
6 Replies
Anil_Babu_Samineni

What are you trying to get using these tables?

Perhaps this Avg(TOTAL <site> [Net Inventory])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
bushpalaamarnat
Creator
Creator
Author

perhaps i was not clear, i want to get the data as in the tables from raw data, the projection needs to be in that format and calculations.

Anil_Babu_Samineni

What is your input table and what is your output table?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
bushpalaamarnat
Creator
Creator
Author

Raw Data InputCalculation for site% of Brand - Site
BrandSiteNet InventorySiteTotalBrand- SiteNet Inventory%
Brand AUK190UK380Brand A - UK19050%
Brand BUK60FR202Brand C - UK9024%
Brand CUK90Brand B - FR4020%
Brand DUK40Brand B - UK6016%
Brand AFR12Brand D - FR3115%
Brand BFR40Brand D - UK4011%
Brand CFR19Brand C - FR199%
Brand DFR31Brand A - FR126%
bushpalaamarnat
Creator
Creator
Author

Raw Data Input
BrandSiteNet Inventory
Brand AUK190
Brand BUK60
Brand CUK90
Brand DUK40
Brand AFR12
Brand BFR40
Brand CFR19
Brand DFR31

 

Calculation for site
SiteTotal
UK380
FR202

Final Out put

   

% of Brand - Site
Brand- SiteNet Inventory%
Brand A - UK19050%
Brand C - UK9024%
Brand B - FR4020%
Brand B - UK6016%
Brand D - FR3115%
Brand D - UK4011%
Brand C - FR199%
Brand A - FR126%
Anil_Babu_Samineni

try to create table like

Dimension - Brand & ' - ' & site

Expressions are

Sum([Net Inventory])

Sum(Net Inventory]) // And enable Relative option to see?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful