Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Good day,
I have the following question, for which I need some help.
Below you see a duplicate value.
This duplicate vaue was entered in the database within 2 seconds.
I want to have an extra colum which gives me a "yes" if the same value was entered in the database within 2 seconds.
And, if possible, I want to have the possibility to set the timeframe from 2 to 3 (or more) seconds manually (filter?).
Your help is highly appreciated!
Regards, John
Solved! Go to Solution.
Hi,
Drag only value to the table visual and write these measures
Max date_time = MAX(Data[date_time])
Min date_time = MIN(Data[date_time])
Difference = [Max date_time]-[Min date_time]
Entered within 2 seconds = IF([Difference<=TIME(0,0,2),"Yes","No")
Hope this helps.
@jwi1 , New columns in table
last date = maxx(filter(Table,Table[value] =earlier(Table[value]) && Table[Date] <earlier(Table[Date])),Table[Date])
Date diff = if(abs(datediff([last date],[Date],second)),<=2, "Yes","No")
@jwi1 , New columns in table
last date = maxx(filter(Table,Table[value] =earlier(Table[value]) && Table[Date] <earlier(Table[Date])),Table[Date])
Date diff = if(abs(datediff([last date],[Date],second)),<=2, "Yes","No")
Hi,
Drag only value to the table visual and write these measures
Max date_time = MAX(Data[date_time])
Min date_time = MIN(Data[date_time])
Difference = [Max date_time]-[Min date_time]
Entered within 2 seconds = IF([Difference<=TIME(0,0,2),"Yes","No")
Hope this helps.