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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Merge Row and value in Charts/Straight Table


Hi All,

In my Dash board i have a chart and Straight table in that i need to merge two rows and i need to show as single row.

Exampl

ServiceTypevolume1volume2
Inquiry155224522
Service12716354
Other Service963123
Unclassified7512

need to merge Inquiry and Service as a single column Like "Cases"  and Do the Sum of the two rows.

ServiceTypeVolume1Volume2
Cases1679310876
Other Service963123
Unclassified7512

Cases = Inqiry and Service.

How can i do this...Please help .

3 Replies
Not applicable
Author

Hi,

You can get it done by writing condition in dimension.

PFA

Warm Regards

Joshmi

maxgro
MVP
MVP

or yoy can add a calculated field and use it as dimension

load

  *,

  if(match(ServiceType, 'Inquiry', 'Service'), 'Cases', ServiceType) as ServiceTypeGroup;

LOAD * INLINE [

    ServiceType, Vol1, Vol2

    Inquiry, 15522, 4522

    Service, 1271, 6354

    Other Service, 963, 123

    Unclassified, 75, 12

];

robert_mika
Master III
Master III

Hi Joshmi,

Would you mind to share your solution?

I'm using Personal edition.