Forum Discussion
jakepowers21
4 years agoFrequent Visitor
Difference Between two columns
I am attempting to calculate the difference between two columns and can't seem to get the correct numbers. I would like: Aging Bucket = 'Days to Pay' - 'Aging'. Please see attached reports and the fo...
jakepowers21
4 years agoFrequent Visitor
Yes, the fist line on the table have the following values: 'Days to Pay' = 30, 'Aging' = 36. I am trying to simply create a calculation to show me the difference between the two numbers, 30-36=-6 (Aging Bucket). However, the result that I am getting for the aging bucket is -2,796. I believe it is taking the sum of multple rows of data, but I would like it specific for that row and the results should be -6. I just can't seem to figure out how to correct this. The 'Days to Pay' and 'aging' fields are from different tables, which im not sure if that is effecting the result of the calulated forumla.
The following is the current calulated column that is showing the inccorect result:
Aging Bucket = SUM('Vendor Payment Assumptions Combined Power BI'[Days to Pay])-SUM('Document Dates'[Aging])
jakepowers21
4 years agoFrequent Visitor