Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Creator III
Creator III

Count Function not working

Dear Sir/Madam

Please help to explain why count function is not working in attached file.

Thank you,

Tracy

1 Solution

Accepted Solutions
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

//CrossTable(Factors, Data, 3)

LOAD Badge,

     Date,

     #Visits,

     Issue,

     [Follow Up]

FROM

(ooxml, embedded labels, table is Sheet1);

Do not use CrossTable statement and you will get the correct result:

Screenshot_1.jpg

View solution in original post

7 Replies
Kushal_Chawda

What is the expression used? what is the output you need?  I am not able to open QVW as I don't have qlikview in my system

ajsjoshua
Specialist
Specialist

Hi,

share ur expression

MindaugasBacius
Partner - Specialist III
Partner - Specialist III

//CrossTable(Factors, Data, 3)

LOAD Badge,

     Date,

     #Visits,

     Issue,

     [Follow Up]

FROM

(ooxml, embedded labels, table is Sheet1);

Do not use CrossTable statement and you will get the correct result:

Screenshot_1.jpg

qlikview979
Specialist
Specialist

Hi,

please finf the attached Qvw.

Try like this

T1:

LOAD Badge,

    Date,

    #Visits,

    Issue,

    [Follow Up]

FROM

(ooxml, embedded labels, table is Sheet1);

Dimension:-Badge

Expression:-Count(  #Visits)

shmkmr90
Contributor III
Contributor III

The data loaded in the qvw and the xls file is not same, the count(#Visits) is working fine according to the data loaded. please check with the source data.

Anil_Babu_Samineni

Tracy,

Try to upload expected o/p also. So that, Community can help you or else getting trouble to find your output ....

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable

find attached qvw.