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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
kakani87
Specialist
Specialist

Count of Expression

Dear All,

There is an expression with me which to display with a Image/Symbol now what i want is to display is the count where it is displaying the image//Symbol Following is the expression


if

(

count

(

{<

CalendarMonthAndYear={'$(=maxstring(CalendarMonthAndYear))'},

InOut={0}

>}

InOut

)

<>

count

(

{<

CalendarMonthAndYear={'$(=maxstring(CalendarMonthAndYear))'},

InOut={1}

>}

InOut

)

,

'qmem://<bundled>/BuiltIn/minus_r.png'

)

Labels (1)
12 Replies
sunny_talwar
MVP
MVP

When you say all, you mean sum the number of days? So Day won't be a dimension when you see this?

sunny_talwar
MVP
MVP

Something like this

Capture.PNG

Try this

Sum(Aggr(if(count({<

CalendarMonthAndYear={'$(=maxstring(CalendarMonthAndYear))'},

InOut={0}

>}InOut)

<>

count({<

CalendarMonthAndYear={'$(=maxstring(CalendarMonthAndYear))'},

InOut={1}

>}

InOut ),1,0), Location, DepartmentName, EmpName, tran_date))

kakani87
Specialist
Specialist
Author

This  meets my requirement let me check and update.