Forum Discussion
Calculated column changes value in report
- 5 years ago
Hi selimovd,
After some more digging I found that empty cells in date column in my Customer table returned 30/12/1899, so when I calculated MemberYear the result became 120 years.
Instead of IF(ISBLANK(vContractMemberFrom),-1,... I tried IF(vContractMemberFrom = 0,-1,... and now it seems to work fine.
Thanks for taking your time to respond to my issue!
Hey SaraFtg ,
can you check if Document No 765663 has multiple rows in your data?
If you chose MAX as aggregation for MemberYears (group) it could be that it would show the MAX of the rows and if that Document No has multiple rows that would explain it.
Also try to set the aggregation in the visual to "Don't summarize":
Like this all rows should be shown for sure.
- SaraFtg5 years agoFrequent Visitor
Hm, when adding the MembertYear-column (also set to Don't summarize) to my visual the problem seems to be that -1 is set to 120 (resulting in that it's grouped as "50+"). So - question is why that is happening?
- selimovd5 years agoMost Valuable Professional
Hey SaraFtg ,
can you share the file? It would be a lot easier to take a look at the file itself.
Best regards
Denis
- SaraFtg5 years agoFrequent Visitor
Hi selimovd,
After some more digging I found that empty cells in date column in my Customer table returned 30/12/1899, so when I calculated MemberYear the result became 120 years.
Instead of IF(ISBLANK(vContractMemberFrom),-1,... I tried IF(vContractMemberFrom = 0,-1,... and now it seems to work fine.
Thanks for taking your time to respond to my issue!