Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

alignment with Pivot Table

HI all,

I want to add to total column to a pivot table.But if i am adding total column it is  getting applied to all dimensions.I want only one total colum which gives total of sales for all months.

I want to add Total as first column in the pivot table .

Thanks

2 Replies
jsingh71
Partner - Specialist
Partner - Specialist

Can you share some dummy Data.

Anonymous
Not applicable
Author

Hi I couln't share the app because of it size .

Below is the screen shot

In the below table  Total should not be displayed for every dimensional vale.If i add as expression it is getting applied to all groups .It should be one single seperate column.

It should be one Total column.

How to achieve this

PERIOD_ALPHA 2015.012015.022015.032015.042015.052015.062015.072015.082015.092015.102015.112015.12
Anlytical Account Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total Bgt Value Bgt % Total
Net Sales 2083 9.5% 2083.01622402111588 7.2% 1588.16774010911788 8.1% 1788.15011052241692 7.7% 1691.94647256491807 8.2% 1806.72108366932039 9.3% 2039.37862297511778 8.1% 1777.79264346661720 7.8% 1720.38278704271798 8.2% 1798.29069168861869 8.5% 1868.64438572011852 8.4% 1852.39768859141946 8.9% 1946.3825325695
Cost of Sales before Waste(1943)(8.8)%-1943.1077714042(1460)(6.6)%-1459.5942852398(1649)(7.5)%-1649.4904733768(1559)(7.1)%-1558.6405482608(1664)(7.6)%-1664.491259359(1908)(8.7)%-1907.5781888665(1633)(7.4)%-1633.3927987938(1572)(7.2)%-1571.5477072691(1737)(7.9)%-1737.0746315163(1808)(8.2)%-1807.5847611302(1800)(8.2)%-1800.2590742867(1881)(8.6)%-1880.8618638221
Waste(18)(0.1)%-17.620455201472(16)(0.1)%-16.052796685534(18)(0.1)%-17.816444268727(17)(0.1)%-17.223668540978(18)(0.1)%-18.224645363911(20)(0.1)%-20.117282883926(19)(0.1)%-18.614614693557(18)(0.1)%-18.078363071671640.3%64.384158496817630.3%63.274184049975680.3%68.129850307281730.3%73.484562031369
Gross Margin Before Shrinkage1220.6%122.287997410381130.5%112.520658183561210.6%120.843192881521160.5%116.082255764871240.6%124.005178964981120.5%111.683151227641260.6%125.785229970791310.6%130.756716722931260.6%125.600218666541240.6%124.333808630391200.5%120.268464614511390.6%139.00523079189
Shrinkage(9)(0.0)%-8.6969653536018(8)(0.0)%-7.8595360820564(9)(0.0)%-9.0174295899932(10)(0.0)%-9.5760015059655(10)(0.0)%-10.240383465295(12)(0.1)%-11.721051459453(10)(0.0)%-10.187198094537(10)(0.0)%-9.9823768823057(11)(0.0)%-10.8244848866(11)(0.0)%-10.891107125341(11)(0.0)%-10.774602654329(12)(0.1)%-12.252441844633
Gross Margin 114 0.5% 113.5910320572105 0.5% 104.66112210154112 0.5% 111.82576329154107 0.5% 106.50625425822114 0.5% 113.76479549935100 0.5% 99.962099767924116 0.5% 115.59803187572121 0.5% 120.77433984099115 0.5% 114.77573378063113 0.5% 113.44270150503109 0.5% 109.49386196004127 0.6% 126.75278894799
Rebates & Suppliers Benefits H.O2361.1%236.432195917871980.9%198.267080656392171.0%217.003863391422050.9%204.996028612512221.0%222.183296683152591.2%259.156916011162291.0%228.843955828272151.0%215.024661496382331.1%232.59497669522381.1%238.285799093522441.1%244.273291765712591.2%258.717405877
Promo Activities & Other Fees - Stores310.1%30.578277759249290.1%28.928140743407300.1%30.382940503328300.1%29.984561853105310.1%31.371692440045340.2%33.64164134602320.1%31.775513171609310.1%31.105677487145310.1%31.278961262014320.1%31.906379053221310.1%30.766247669785320.1%31.664984944945
Rebates & Suppliers Benefits2671.2%267.010473677872271.0%227.195221400032471.1%247.386803893812351.1%234.980590465432541.2%253.554989121882931.3%292.79855735872611.2%260.619468997842461.1%246.130338983642641.2%263.87393795742701.2%270.192178148832751.3%275.039539434032901.3%290.38239082284
Net Logistic Cost(8)(0.0)%-8.219617165824(8)(0.0)%-7.6005985655825(6)(0.0)%-5.7246264955389(6)(0.0)%-6.4478228826694(8)(0.0)%-7.8543300002292(8)(0.0)%-8.2337019006435(7)(0.0)%-6.9418828101269(7)(0.0)%-6.6768790620389(6)(0.0)%-5.6726444968584(7)(0.0)%-6.6458308874688(6)(0.0)%-5.9568890279409(6)(0.0)%-5.893016720007
Commercial Margin3721.7%372.38188857063241.5%324.255744934833531.6%353.487940692213351.5%335.039021843163591.6%359.465454621373851.8%384.526955223663691.7%369.275618066033601.6%360.227799761893731.7%372.977027240623771.7%376.989048764383791.7%378.576512368124111.9%411.24216304862
Other Revenue120.1%11.836537578334110.0%10.814422783958110.1%11.094036785815110.1%11.127844573039110.1%11.23165403566120.1%12.23461125593120.1%11.594593004492110.1%11.056661326734120.1%11.532760293966120.1%11.718415601118120.1%11.890186395551120.1%12.24430375946
Financial Margin80.0%8.147765574575170.0%7.423429509283170.0%7.280822992133670.0%7.063851910310670.0%7.152381336057570.0%7.457039728589370.0%7.199166928940670.0%7.023770990537370.0%7.334708601089370.0%7.442626336884770.0%7.442212995542580.0%7.5840697359724
Total Commercial Margin 392 1.8% 392.36619172065342 1.6% 342.49359722877372 1.7% 371.86280046786353 1.6% 353.23071832626378 1.7% 377.84948999453404 1.8% 404.21860621295388 1.8% 388.06937799866378 1.7% 378.3082320802392 1.8% 391.84449613489396 1.8% 396.15009070266398 1.8% 397.90891175707431 2.0% 431.07053654501
Staff Costs(135)(0.6)%-134.69030020517(133)(0.6)%-132.78895534694(136)(0.6)%-135.77143346839(135)(0.6)%-135.43748166439(136)(0.6)%-136.30505065838(140)(0.6)%-139.82248464188(144)(0.7)%-143.50542510046(139)(0.6)%-138.50954641489(143)(0.7)%-142.77841784346(144)(0.7)%-143.85540750763(143)(0.7)%-142.82258226966(146)(0.7)%-145.88619808074
Marketing & Advertising(13)(0.1)%-13.446012262121(9)(0.0)%-9.4135495430606(11)(0.0)%-10.816033790597(11)(0.0)%-10.576543960866(12)(0.1)%-11.671971870824(14)(0.1)%-13.501368534605(10)(0.0)%-10.061610312436(10)(0.0)%-10.003175772275(10)(0.0)%-10.344710057852(13)(0.1)%-12.586295460996(14)(0.1)%-13.604942283678(12)(0.1)%-11.590640879028
Other Operating Expenses(65)(0.3)%-64.80729605248(61)(0.3)%-60.81806585769(64)(0.3)%-64.203977421059(65)(0.3)%-64.987916091471(67)(0.3)%-67.325845085038(73)(0.3)%-72.685426184431(72)(0.3)%-71.645511202817(70)(0.3)%-70.042629607249(72)(0.3)%-71.536390517522(71)(0.3)%-71.209083652626(70)(0.3)%-69.952462710054(72)(0.3)%-72.227717099286
Result From Activity1790.8%179.42258320131390.6%139.473026480141610.7%161.071355789741420.6%142.228776610511630.7%162.546622380121780.8%178.209326851511630.7%162.856831383531600.7%159.752880285571670.8%167.18497771891680.8%168.499304085491720.8%171.528924496342010.9%201.36598048825
Rental Charges(45)(0.2)%-45.126850202327(41)(0.2)%-40.632304836736(43)(0.2)%-42.679075878677(42)(0.2)%-42.164201248427(43)(0.2)%-43.261215209747(45)(0.2)%-45.392301554922(44)(0.2)%-44.223472967602(44)(0.2)%-44.115677942142(45)(0.2)%-45.477029635592(46)(0.2)%-46.34262298484(46)(0.2)%-46.19567270715(48)(0.2)%-47.793123269791
Service Charges(4)(0.0)%-4.443326341055(4)(0.0)%-3.762189686231(4)(0.0)%-4.006394416926(4)(0.0)%-3.948334887007(4)(0.0)%-4.019653827021(4)(0.0)%-3.70177081159(4)(0.0)%-3.596222100381(4)(0.0)%-3.5817814492(4)(0.0)%-3.678459553487(4)(0.0)%-3.804623386516(4)(0.0)%-3.783051435626(4)(0.0)%-3.832754225736
Rental Income30.0%3.31013067567730.0%3.31129440267730.0%3.31129440267730.0%3.31229440267730.0%3.31229440267750.0%5.13510432686550.0%5.16879015986550.0%5.16879015986550.0%5.16878965986550.0%5.17857244229250.0%5.17857244229250.0%5.188085442292
Import Center10.0%0.98583449131710.0%1.04631910433310.0%1.12697899147310.0%1.10499849185210.0%1.1902004048710.0%0.988579707232710.0%1.139282274810710.0%1.078584329794710.0%1.074857029458710.0%1.028885112868710.0%1.057317519491710.0%1.1777412705017
Depreciations / Amortizations(28)(0.1)%-28.287084126536(26)(0.1)%-26.319500275602(29)(0.1)%-28.946130109632(29)(0.1)%-28.61389691058(30)(0.1)%-29.866634480442(30)(0.1)%-30.178605288836(31)(0.1)%-31.327961902151(31)(0.1)%-30.889701059576(31)(0.1)%-30.670022928621(32)(0.1)%-31.796352939542(31)(0.1)%-30.828839243453(32)(0.1)%-32.445368036673
Opening Fees60.0%6.163379500.0%0.410.0%0.91520.0%2.478081025110.1%11.134792837948100.0%9.5469655503194100.0%9.91964538636---80.0%8.132037799966140.1%13.62837471780.0%7.73780188859670.0%7.069430083184
Pre-Opening Costs(8)(0.0)%-7.6785148995(1)(0.0)%-0.5437700625(2)(0.0)%-1.7392761875(2)(0.0)%-2.2930170625(8)(0.0)%-7.5557628126(7)(0.0)%-7.2625324107554(10)(0.0)%-10.147207273---(8)(0.0)%-7.860545244(11)(0.0)%-10.61032839(1)(0.0)%-1.3564094991887(14)(0.1)%-13.63148014051
Other Income / Expenses(2)(0.0)%-1.73130977982(2)(0.0)%-1.53608977982(2)(0.0)%-1.801874542345(1)(0.0)%-1.29811902487(1)(0.0)%-1.46208902487(2)(0.0)%-1.64628345087(2)(0.0)%-1.56664331087(2)(0.0)%-1.68186331087(2)(0.0)%-1.74512345087(1)(0.0)%-1.46071331087(1)(0.0)%-1.335897178445(9)(0.0)%-8.648312748095
Operating result before HO Fees1030.5%102.61484252057710.3%71.436785345961870.4%87.251878049445710.3%70.806581397863920.4%92.0185546696591060.5%105.69848291934880.4%88.223041647046860.4%85.731231014276920.4%92.129481393245940.4%94.3204953489391020.5%102.002746280961080.5%108.45019886382
Head Office Fees(9)(0.0)%-8.9406087472(7)(0.0)%-7.081147690809(8)(0.0)%-7.916455605524(8)(0.0)%-7.526770670315(8)(0.0)%-7.955252440098(9)(0.0)%-8.991800905116(8)(0.0)%-7.865635976864(8)(0.0)%-7.630248165313(8)(0.0)%-8.108653333702(8)(0.0)%-8.223235005109(8)(0.0)%-8.39987972216(9)(0.0)%-8.793280794114
Net Operating Result 94 0.4% 93.67423376848364 0.3% 64.35563765448179 0.4% 79.33542244276563 0.3% 63.27981072658384 0.4% 84.06330223437897 0.4% 96.70668201306480 0.4% 80.35740567218678 0.4% 78.10098284827684 0.4% 84.02082806203486 0.4% 86.09726033872994 0.4% 93.602866561305100 0.5% 99.656918072694
External Financial result70.0%6.514206007163370.0%7.096779926291370.0%7.083693283233370.0%7.354454603123370.0%7.46925924895260.0%6.0851653891370.0%6.82349221820270.0%6.79525917182270.0%6.61260926500280.0%7.50478741104270.0%7.40213012531770.0%7.095594346637
Intercompany Financial result20.0%1.63736845977230.0%2.74168814815220.0%1.72024785690810.0%1.26138686430110.0%1.30486133286410.0%1.25622026815610.0%0.97868758340710.0%1.1680443443110.0%1.2555890308910.0%1.3475447424910.0%1.0244516541710.0%1.09015396086
Financial Margin Reversal(8)(0.0)%-8.1477655745751(7)(0.0)%-7.4234295092831(7)(0.0)%-7.2808229921336(7)(0.0)%-7.0638519103106(7)(0.0)%-7.1523813360575(7)(0.0)%-7.4570397285893(7)(0.0)%-7.1991669289406(7)(0.0)%-7.0237709905373(7)(0.0)%-7.3347086010893(7)(0.0)%-7.4426263368847(7)(0.0)%-7.4422129955425(8)(0.0)%-7.5840697359724
Result before Tax940.4%93.678042666928670.3%66.770676222559810.4%80.858540590861650.3%64.831800283568860.4%85.685041473913970.4%96.591027941085810.4%80.960418546028790.4%79.040515374458850.4%84.55431775545880.4%87.506966153978950.4%94.5872353455541000.5%100.25859664564
Tax(10)(0.0)%-9.883613360493(6)(0.0)%-6.314484317829(8)(0.0)%-8.458760937215(5)(0.0)%-5.292943527533(7)(0.0)%-7.350037659063(11)(0.0)%-10.608368698855(9)(0.0)%-8.602115071794(10)(0.0)%-9.50155403257(9)(0.0)%-8.809700792262(8)(0.0)%-7.521288982826(7)(0.0)%-6.8754822614(8)(0.0)%-8.159048660997
Exchange Difference(0)(0.0)%-0.25611371478334(0)(0.0)%-0.43435238258115(0)(0.0)%-0.3111525584015(0)(0.0)%-0.32052693612563(0)(0.0)%-0.32265257723454(0)(0.0)%-0.31140488701032(0)(0.0)%-0.27631049775231(0)(0.0)%-0.25072365162829(0)(0.0)%-0.16317573336298(0)(0.0)%-0.22586990795772(0)(0.0)%-0.4392556071687110.0%0.51349583505194
Net Profit (Loss) After Tax 84 0.4% 83.53831559089160 0.3% 60.02183951857172 0.3% 72.08862709319459 0.3% 59.21832981583978 0.4% 78.01235123364286 0.4% 85.67125434962672 0.3% 72.08199297604269 0.3% 69.28823768546176 0.3% 75.58144122976180 0.4% 79.75980726684687 0.4% 87.27249747328793 0.4% 92.613043815675
EBITDA 114 0.5% 113.5574386109883 0.4% 82.817356037559101 0.5% 100.689576999985 0.4% 84.509328786528106 0.5% 106.45490279133119 0.5% 119.11684268003104 0.5% 104.20989014838102 0.5% 101.71618926148107 0.5% 107.19296665475110 0.5% 110.22511703568117 0.5% 116.55023719865125 0.6% 125.03171220585