Forum Discussion
Get latest date based on filtered column
- Anonymous6 years ago
hadi2002 ,
Sorry, can you let me know what is the expected output.
You can put a filter on "Success" .
Also, just change "Postponed" to "Exception"
Queue =CALCULATE(MAX(Table6[TimeString]), FILTER(ALL('Table6'),Table6[Status] ="Success" || Table6[Status] = "EXception" ))Date DIff = var a = DATEDIFF(MAXX(ALL(Table6),Table6[TimeString]),[Queue],MINUTE)RETURNaRegards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
hadi2002 ,
Syntax Error:
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
hadi2002 ,
Suppose you have the below Table6
Use the measures
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
- hadi20026 years agoFrequent Visitor
Hi Anonymous
Thanks for you help. But I just wants the most lowest one datediff which has 'Success' & 'Exception' status (ignore postponed) only shown in the card. 😞
- Anonymous6 years agoNot applicable
hadi2002 ,
Sorry, can you let me know what is the expected output.
You can put a filter on "Success" .
Also, just change "Postponed" to "Exception"
Queue =CALCULATE(MAX(Table6[TimeString]), FILTER(ALL('Table6'),Table6[Status] ="Success" || Table6[Status] = "EXception" ))Date DIff = var a = DATEDIFF(MAXX(ALL(Table6),Table6[TimeString]),[Queue],MINUTE)RETURNaRegards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
- hadi20026 years agoFrequent Visitor
hi Anonymous
Thanks alot for your help, that really work perfect as what was expected. However, I'm stuck at another last part. Hope you can help me on this to group the data. For example, let's say I have a table as below which shows a column called as Robot and ActionDate (as shown in first picture).
I just wants to group the robot column and populate the max date for each respective robots and shows me what is the diffrence from the time now.
Your help would be highly appreciated