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: 
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])