Forum Discussion
UK_User123456
Resolver I
6 years agoRanking and calculating the difference
Hi All, I am working with Ranking and currently using RankX. I have multiple gift dates that could have been given by the same person over a period of time. I have ranked each of the gifts by dat...
- 6 years ago
Have you tried using the VALUE function to covert the result into a number?
For example:
Date Diff = VALUE ( [Last gift] - [Gift prior to last] )Best regards,
Martyn
- 6 years ago
How about this?
Date Diff = IF ( NOT ISBLANK ( [Gift date prior to last] ), VALUE ( [Last gift date] - [Gift date prior to last] ), BLANK() )Best regards,
Martyn
MartynRamsden
Solution Sage
6 years ago
I'm sure that the solution here is a simple one but it's almost impossible to troubleshoot without seeing how everything fits together in your model.
I appreciate you can't share your pbix 'as is' due to to sensitive data but are you able to anonymise it or create an exact replica of your model (including all measure and calculated columns) with a small sample of dummy data?
Best regards,
Martyn
UK_User123456
Resolver I
6 years ago