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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
aidalj28
Contributor II
Contributor II

Getting double values since the rows have the same name but not value

Hello,

I have 3 excel tables which I joined in Data Manager. Something like this:

1. Table with old names and some data

OldNameData
24hdla9310
3dmafh720
nfjs93la330
d38ma3940

 

2. Table is only to define new names, but sometimes 2 different oldnames should appear under ONE newname!

OldNameNewName
24hdla93Apple
3dmafh7Strawberry
nfjs93la3Banana
d38ma39Banana

 

3. Table is extra row of data which I want to show at the end

NewNameValue
Apple3
Strawberry6
Banana2

 

The table I want to get is (Data is added, but Value should stay the same):

NewNameDataValue
Apple103
Strawberry206
Banana702

 

And I am getting this (Value for Banana is doubls, although I want to show only 2 for Banana, and not 4):

NewNameDataValue
Apple103
Strawberry206
Banana704

 

Can someone please help me?

Labels (2)
1 Reply
tresesco
MVP
MVP

@aidalj28 

With your data structure by default it should give '2' against a Sum(Value) expression. However, if you are using kind of Sum(If(..., it could result in an output of '4'. In such cases where you have to put a condition you could use set analysis instead of if, like:

Sum({<NewName={'Banana'}>}Value)