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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. 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])