Skip to main content

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik Cloud Maintenance is scheduled between March 27-30. Visit Qlik Cloud Status page for more details.
cancel
Showing results for 
Search instead for 
Did you mean: 
miguelcunha
Creator
Creator

How to use OR on sum condition

Hey guys

How can i do the following?

count({<Date_year={$(=Max(Data_Ano))},(Marca={'ZZ'} or Marca={'HN'})>} Tipo_publicacao)

Is is possible to use the "OR" operator, or do I have to separate them?

Thanks in advance,

Miguel Cunha

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

But why not just this

Count({<Date_year={$(=Max(Data_Ano))}, Marca={'ZZ', 'HN'}>} Tipo_publicacao)

View solution in original post

3 Replies
sunny_talwar

May be like this

Count({<Date_year={$(=Max(Data_Ano))},(Marca={'ZZ'}>+<Marca={'HN'})>} Tipo_publicacao)

sunny_talwar

But why not just this

Count({<Date_year={$(=Max(Data_Ano))}, Marca={'ZZ', 'HN'}>} Tipo_publicacao)

miguelcunha
Creator
Creator
Author

That's exactly what I needed! Thank you very much