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: 
mnvrma
Partner - Contributor III
Partner - Contributor III

Count invalid Expression

I need to calculate Count of flag  but count expression is invalid

Calc_Temp:

Load
    Year,
    Name,
    Role,
    Group,
    "Domain/Department",
    QuestionGroup,
    Weightage,
    Questions,
    Ques_Calc,
    Rating as Rating_Raw,
    1 as Flag,
    Count(Flag)
    Resident RawData
    Group By Year,Name,QuestionGroup;

1 Solution

Accepted Solutions
Taoufiq_Zarra

@mnvrma  and ?

 
    Data:
    Load
    Year,
    Name,
    Role,
    Group,
    "Domain/Department",
    QuestionGroup,
    Weightage,
    Questions,
    Ques_Calc,
    Rating as Rating_Raw,
    1 as Flag 
   Resident RawData
   left join load  Year,Name,QuestionGroup, Count(Flag) as count_Flag resident Data  Group By Year,Name,QuestionGroup;
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

2 Replies
Taoufiq_Zarra

@mnvrma  and ?

 
    Data:
    Load
    Year,
    Name,
    Role,
    Group,
    "Domain/Department",
    QuestionGroup,
    Weightage,
    Questions,
    Ques_Calc,
    Rating as Rating_Raw,
    1 as Flag 
   Resident RawData
   left join load  Year,Name,QuestionGroup, Count(Flag) as count_Flag resident Data  Group By Year,Name,QuestionGroup;
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Jeet_007
Partner - Contributor II
Partner - Contributor II

Hello Sir @Taoufiq_Zarra 

Can you please go through this post as I am facing little challenge in requirement 

Link: Calculate Rolling Sales according to Max Date available for each Shop