Forum Discussion
Calculate Change by previous row value
I think you have made a mistake with the number to divide. The dividend should be the first number of Subtraction (Minuend).
Also, when I put this measure in my table, then I got an empty column without error.
Can someone help me please? I don't know why the column is blank
- lbendlin4 years ago
Super User
My proposed solution is based on the sample data you provided. If the sample data does not cover the issue fully then please provide more descriptive sample data.
- Nourhassan4 years ago
Helper I
Unfortunately, I don't have permission to upload the .pbix file here.
Kindly find below a table with more data.
R_DATE R_TIME LOAD 12/01/2021 0 795 12/01/2021 1 724 12/01/2021 2 697 12/01/2021 3 677 12/01/2021 4 667 12/01/2021 5 658 12/01/2021 6 734 12/01/2021 7 692 12/01/2021 8 707 12/01/2021 9 728 12/01/2021 10 756 12/01/2021 11 766 12/01/2021 12 764 12/01/2021 13 730 12/01/2021 14 725 12/01/2021 15 780 12/01/2021 16 779 12/01/2021 17 781 12/01/2021 18 881 12/01/2021 19 860 12/01/2021 20 838 12/01/2021 21 837 12/01/2021 22 837 12/01/2021 23 811 The problem only occurs when the date column is added. I think the problem is that it is the same day in each row.
- lbendlin4 years ago
Super User
Your sample data is not fully covering your issue. Provide at least two days' worth of hourly snapshots.