Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
itsme123
Contributor III

Set Analysis with multiple conditions

Please help me with two measures

ID column is trying to access documents which is store in datetime field

Col1 datetime; col 2 id ; col3 ; col4;  col5 ID count( this is created using id column)

i need to create measure to count how many id are being accessed during 10pm to 6am interval

I also need to create an other measure which should satisfy condition col3 <> col4  and count id > 3 then i need count how many accessed documents more than 3 times

2 Replies
Taoufiq_Zarra

@itsme123  can you share a sample data and the expected output ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Anil_Babu_Samineni

@itsme123  Perhaps this way

Count(If(Time(datetime)>='10:00:00 PM' and Time(datetime)<='06:00:00 AM'), ID)

// Make sure, If Time(datetime) giving format with "hh:mm:ss TT"

Count({<Col3={"=Col3<>Col4"}, Id={"=Cound(Id)>3"}>} Documents)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful