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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible to write count(distinct Tickets ID) in model level

Is it possible to write count(distinct Tickets ID) in data model level??

4 Replies
marcus_sommer

Surely, but the whole load-statement needs to be adjusted to such a calculation. It should look like:

count:

Load AnyGroup, count(distinct [Tickets ID]) as TicketCount From xyz Group by AnyGroup;

- Marcus

tresesco
MVP
MVP

Possible. Try like:

Load

          Field1,

          Field2,

          Count( Distinct Field3) as Count

From <> Group By Field1, Field2;

sunny_talwar

Not sure what you mean when you say Data Model level? Do you mean to do this in the script?

Not applicable
Author

Yes it is script level