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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
balasundaram
Creator II
Creator II

I have need to display single month with added count

my issue: example

script:

bala:

LOAD * INLINE [

    name, count, month

    bala, 1, Apr 2014

    bala, 200, May 2014

  

];

Concatenate

LOAD name,

     count,

     month

FROM

F:\bala\qv.qvd

(qvd);

STORE bala into qv.qvd;

final report in straight table:

namemonthcount=1
1
balaApr 201411
balaApr 2014401
balaFeb 2014201
balaJan 2014101
balaMar 2014301
balaMay 20142001

i took all fields in dimensions

i need to show apr 2014 count is 41 in single row

if i added in expresion sum(count) its showing 41

plz any one help how to solve this issue..

3 Replies
Not applicable

If count is your field name, this expression:

sum(count),

will show you sum for your dimension values.

So, i understand, that your expression shows results exactly as you need (41).

regards

DArek

Not applicable

bala:

LOAD * INLINE [

name, count, month

bala, 1, Apr 2014

bala, 200, May 2014

];

Concatenate

LOAD name,

count,

month

FROM

F:\bala\qv.qvd

(qvd);

STORE bala into qv.qvd;

FinalTable:

NoConcatenate

LOAD name,month,sum(count) as TotalSum

RESIDENT bala

GROUP BY name,month;

Drop table bala;

its_anandrjs
Champion III
Champion III

UPDATE SOME CHANGE IN THE SCRIPT

In single table you get this load your table like

bala:

LOAD * INLINE [

name, count, month

bala, 1, Apr 2014

bala, 200, May 2014

];

Concatenate

LOAD name,

count,

month

FROM

F:\bala\qv.qvd

(qvd);

left join

LOAD name,month,sum(count) as TotalSum

RESIDENT bala

GROUP BY name,month;

STORE bala into qv.qvd;



And on front end take table box and add the fields


name,month, TotalSum