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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selective Totals for data with different Metrics

Hi,

I was wondering if its possible to display a selective total for a Pivot table. My challenge is that I have to display a Pivot table with data that has 2 different metrics of measurement.

For instance in my source data I have 2 tables like this:

GOALS:

COUNTRYGOAL VALUE
United Kingdom100 Units
Spain200 Units
Germany300 Units
USA$6000 Dollars

SALES:

SALE COUNTRYSALE AMOUNT
United Kingdom25 Units
United Kingdom50 Units
Spain100 Units
Spain100 Units
Germany150 Units
USA$3000
USA$3000

The organization in question defines its U.S. sales goals in terms of dollars and rest of the world sales goals in terms of units.

Desired Result in QlikView:

Note that in the TOTAL row below I only want to display the UNITS value in the Total and NOT include the Dollar amount.


CountryGoalActual SalesPercentage of Goal
United Kingdom1007575%
Spain200200100%
Germany30015050%
USA60006000100%
TOTAL UNITS600425

70.83%


Is this possible in QlikView? I have not found a way to exclude a certain Expression value from the Total calculation.

A second challenge is displaying the Units, ideally I'd like to be able to display the US sales as $6000 and the other Sales as 75 Units, 200 Units and 150 Units. Not sure if this is possible either.

I hope the above example helps explain the issue. Any help or advice would be greatly appreciated!

Thanks!

Anosh

Message was edited by: awadia Forgot to mention, I am using QlikView v10 for this document.

0 Replies