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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dasaradh
Contributor III
Contributor III

Data issue in Pivot table

Hi

i have a pivot table it having 3 countries data

like this

Denmarkswedennorway
customers194592882228088
active customers155082153515476
customers/active customers%79.768.861.3

for denmark customers/active customers% result is correct but for sweden and denmark i am getting wrong values?

can some body help me in this

thanks in advance

thanks,

dasaradh

5 Replies
Anonymous
Not applicable

Could you share your expression??

Anonymous
Not applicable

Do some thing like this:

Denmark Expression:

(Count({<Country={'Denmarl'}, Flag={'Active'}>} distinct Customerid)

/

Count({<Country={'Denmarl'}>} distinct Customerid))*100


Similar for other countries....

dasaradh
Contributor III
Contributor III
Author

hi

exp is

count({$<[ActiveAcctInd]={'Y'},$(vFilterLastDay)>} distinct CustomerNbr)/ count({$<$(vFilterLastDay), LineType={Normal}>} distinct CustomerNbr)


test.PNG

sunny_talwar

What is the expression you are using currently?

dasaradh
Contributor III
Contributor III
Author

hi Sunny,

count({$<[ActiveAcctInd]={'Y'},$(vFilterLastDay)>} distinct CustomerNbr)/ count({$<$(vFilterLastDay), LineType={Normal}>} distinct CustomerNbr)


this the exp i am using


pls help me in this


thanks,

dasaradh