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: 
Not applicable

Help in expression as the expression is not working?


Hi,

I have Straight table. The data is coming from excel sheet.

Dimension: Member

Expressions are

Number: Count(Distinct(ID))

Fail: count({<[Result]={'Fail'}>}Distinct ID)

When I am using the second expression(Fail) the values are showing zeroes eventhough the excel sheet contains data for fail. Please can anayone help me.

Thanks.

37 Replies
arsal_90
Creator III
Creator III

Hi Amalia could you please share the excel file because the data is coming in the load table is wrong

and expression to correct =count( {<[Overall Result] = {'Fail'}>} DISTINCT ID)

srchilukoori
Specialist
Specialist

I think there is an error in your cross table load. The Test field has same data as the Result. Take a look at it, that might help you with the logic.

dup.png

Not applicable
Author

Please find excel and let me know.

srchilukoori
Specialist
Specialist

what are fileds 1A to 5E?

Not applicable
Author

Those are Error Types for each Member whether they Pass or Fail in doing the work. 1 denotes Fail and Blanks denotes Pass.

MK_QSL
MVP
MVP

Like this?

S20097 is coming two times. i.e under adm YY and Under adm ZZ

Not applicable
Author

Thanks. But the Test and Result are showing same values for most of the ones. Is it like that when we use CrossTable?

MK_QSL
MVP
MVP

Actually, I didn't understood your requirement properly.

srchilukoori
Specialist
Specialist

please go through the attached app for the updated cross table. You can transform further to reduce the number of records for 'Pass' records.

arsal_90
Creator III
Creator III

Hi Amelia

Please find the attached file.

please see cross table statement