Hello everyone,
I'm beating my head with this and hoping someone can help me with this, I think it's simple but just can't think through it.
I want to use Alteryx to automatically assign a score on a scale of 0 - 10, including decimals for anything between 0 - 10.
The scoring is based on the last date a file was saved versus the current date calculated in seconds, for instance:
Last saved: 2020-09-08 15:54:47
Current date: DateTimeNow() function in Alteryx
Then the difference in seconds using the DateTimeDiff function.
All this is fine, but what I'm struggling next is to figure out the logic to assign on a scale 0 - 10, including decimals for anything between 0 - 10, for any file with lowest difference closer to 10 if not 10 exact, then it goes lower as the difference becomes greater.
Any help would be greatly appreciated.
Thanks!