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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how can i add up the rows in a straight table?

sum.PNGin this image i want RA, SV AND DMIN to be sum as AD Total

and AUTO, WA, MF as MF/WA.

How can i achieve it

1 Solution

Accepted Solutions
sinanozdemir
Specialist III
Specialist III

I can think of two ways:

First way:

If(Wildmatch(CBU, 'RA', 'SV', 'DMIN'), Sum(Q1 or your fact) and name  this expression as AD Total so this will be your column.

If(Wildmatch(CBU, 'AUTO', 'WA', 'MF'), Sum(Q1 or your fact) and name this expression as MF/WA so this will be another column.


Or you can group your dimension:

If(Wildmatch(CBU, 'RA', 'SV', 'DMIN'), 'AD', If(Wildmatch(CBU, 'AUTO', 'WA', 'MF'), 'MF/WA', CBU)


Hope this helps


View solution in original post

2 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I'd suggest to create another field in your database and build the corresponding associations there. Then, use that new field as a dimension in the straight table.

cheers,

Oleg Troyansky

QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense

Ask me about Qlik Sense Expert Class!
sinanozdemir
Specialist III
Specialist III

I can think of two ways:

First way:

If(Wildmatch(CBU, 'RA', 'SV', 'DMIN'), Sum(Q1 or your fact) and name  this expression as AD Total so this will be your column.

If(Wildmatch(CBU, 'AUTO', 'WA', 'MF'), Sum(Q1 or your fact) and name this expression as MF/WA so this will be another column.


Or you can group your dimension:

If(Wildmatch(CBU, 'RA', 'SV', 'DMIN'), 'AD', If(Wildmatch(CBU, 'AUTO', 'WA', 'MF'), 'MF/WA', CBU)


Hope this helps