Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
damianm
Contributor
Contributor

Dividing sum into two invented dimensions

Hi,

I would like to divide my sum into two invented dimensions in my pivot table. Just now i have sum of Sales for Germany equal to 1000.

 
 

image.png

 
 
 

I want to create "fake" dimmension Region and create two levels West and East.

It means that i would like to divide this sales like West=70%*Sales and East=30*Sales.

I cannot interfere into data model.  Is it possible to do it with set analysis?

 

Labels (3)
1 Reply
tresesco
MVP
MVP

You can use second dimension as:

ValueList('West', 'East')

and expression as

If(ValueList('West', 'East')='West', Sum(Sales)*0.7,Sum(Sales)*0.3)

Capture.PNG