Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi There
Could someone help me convert the below if statement into set analysis. I have been trying all day without success.
The below formula counts help desk ticket ID's that we created in the previous month. "Tickets Brought Forward From Previous Months" Would be the title of the chart. [Master MonthYear] is the charts dimension which belongs to a fully disconnected calendar table. It is slow but it's the only way I can get it to work, hoping set analysis will maybe help it run faster.
Count(DISTINCT(if([Created MonthYear] = Date(AddMonths([Master MonthYear],-1),'MMM-YYYY') And [User Department] = 'IT' AND ([Closed MonthYear] >= [Master MonthYear] or IsNull([Closed MonthYear])),[Ticket ID])))
Thanks!
Count( {<Department={'IT'} , [Created Month Year] = {'=Date(AddMonths([Master Month Year],-1)'},
[Closed Month Year] = {'>=[Master Month Year]'} >} [Ticket ID])
Hard to do this without data and ability to test. Not sure this is 100% correct. But should give you the idea.