Adair Júnior
06/21/2024, 4:32 PMFrancisco Antunes
06/21/2024, 5:20 PMAdair Júnior
07/01/2024, 12:40 PMFrancisco Antunes
07/01/2024, 12:52 PMAdair Júnior
07/08/2024, 2:01 PMAdair Júnior
07/08/2024, 2:12 PMAdair Júnior
07/08/2024, 2:30 PMFrancisco Antunes
07/23/2024, 12:39 PMSELECT (SELECT (10000 * MAX(Day of Month (Date))) + (100 * MAX(Month (Date))) + (MAX (Year (Date)) - 101)) BY Customer Id
the -101
on the MAX Year is there because the numerical values for the Years after 2000 are represented by the numbers 101 to 151.
Then, I formatted it like so:
[=-101]N/A;
0#/##/##
If the total value is -101
, this means that the result was null/zero (so only the subtraction in the equation shows up). Otherwise, it displays them with slashes /
- with a possible 0 in case the day is in the single digits.
I hope that this is still helpful, even with the delay 🙂