Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Abhi999
Contributor III
Contributor III

Combining two rows as one

Hi i need your help to get output like below.

I have two fields

Name       Amount

Suresh     100

Mohan   200

Prathap 300

Sai            500

 

I want to combine Suresh and Sai as one, required output like below

Name                     Amount

Suresh+Sai           600

Mohan                   200

Prathap                300

 

1 Solution

Accepted Solutions
AshvitaKatkar
Contributor II
Contributor II

Hi Abhi,

Assuming you don't want to combine Mohan and Prathap you can execute following experience in frontend chart:

Add Dimension:  =if(Name='Suresh' or Name='Sai','Suresh+Sai',Name)

Measure: =Sum(Amount)

Regards,

Ashvita

View solution in original post

4 Replies
AshvitaKatkar
Contributor II
Contributor II

Hi Abhi,

On which criteria your want to combine two rows as one???

Regards,

Ashvita

Abhi999
Contributor III
Contributor III
Author

Hi Sawant,

No criteria nothing just want like this

 

Hi i need your help to get output like below.

I have two fields

Name       Amount

Suresh     100

Mohan   200

Prathap 300

Sai            500

 

I want to combine Suresh and Sai as one, required output like below

Name                     Amount

Suresh+Sai           600

Mohan                   200

Prathap                300

 

 

AshvitaKatkar
Contributor II
Contributor II

Hi Abhi,

Assuming you don't want to combine Mohan and Prathap you can execute following experience in frontend chart:

Add Dimension:  =if(Name='Suresh' or Name='Sai','Suresh+Sai',Name)

Measure: =Sum(Amount)

Regards,

Ashvita

Abhi999
Contributor III
Contributor III
Author

Thank you Asvita, it works fine for me.