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: 
stekol61
Creator
Creator

Count if expression

Hi!

I have data in a table where I want to count nr. of Tickets where Source = 'Event' and present the result i a simple barchart.

I don't want to filter the data in the load script .

How can I create such an expression in Sense?

1 Solution

Accepted Solutions
martinpohl
Partner - Master
Partner - Master

Hi Stefan,

your expression is count({<source={Event}>} distinct Ticket)

maybe start_date is the Dimension of your bar chart.

Regards

View solution in original post

2 Replies
shraddha_g
Partner - Master III
Partner - Master III

Count(Distinct {<Source={'Event'}>}Ticket)

martinpohl
Partner - Master
Partner - Master

Hi Stefan,

your expression is count({<source={Event}>} distinct Ticket)

maybe start_date is the Dimension of your bar chart.

Regards