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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
prajapatiamar38
Creator II
Creator II

Set Expression?


Hi Community,

I have one expression I want to write that in set analysis How can I..

Count(Distinct if(Year([Prev Date])=Year([Jobcard Date]) and Month([Prev Date])=Month([Jobcard Date]),[Jc No1]))

Pls Help

Thanks

1 Reply
MK_QSL
MVP
MVP

May be below... Haven't tested...

=Count(

     {<

          [Prev Date] = {"=

                                        Year([Prev Date])=Year([Jobcard Date])

                                        and

                                        Month([Prev Date])=Month([Jobcard Date])"},

        >}

[Jc No1])