Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm new to QlikSense and I have been struggling to find the solution to my problem. I have 2 columns in my table- ColumnA & ColumnB as shown below
ColumnA | Column B
ABC | 1
AABC | 4
ABBC | 2
ABCC | 2
AABB | 1
I want to get the sum of ColumnB for all the ColumnA values starting with'AA'. The output should be 5.
Please help me!
It can be done with set analysis: sum({<[ColumnA]={"AA*"}>} [ColumnB])
Or you could do sum(if(ColumnA like 'AA*', ColumnB, 0))
It can be done with set analysis: sum({<[ColumnA]={"AA*"}>} [ColumnB])
Or you could do sum(if(ColumnA like 'AA*', ColumnB, 0))
This will work.