Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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'

)

12 Replies
sunny_talwar

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

sunny_talwar

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.