Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
hi everyone,
i have an issue with my power BI visual , in the table below as you can see its showing 0.16552 , yet in the graph for the month of August its showing 0.21741 , both of them are from the same measure yet they are showing different results
*Do note the one covered in black is just a customer number*
my code as below for the ECL USD SMA:
@Ishallown , the formula seems fine. but why your cumulative average is always increasing. Are using date table for display of month year. try formula like these with a date table
hi!
below is the sample data
i would like to show by country (legend) the moving averages (value ) and the shared axis being the report run date.
Payer Number | CountryCode | Report Run Date | TotalExposureUSD |
1 | SK01 | 31-08-20 | 0.022227 |
1 | SK01 | 28-08-20 | 0.022227 |
1 | SK01 | 26-08-20 | 0.022227 |
1 | SK01 | 25-08-20 | 0.022227 |
1 | SK01 | 21-08-20 | 0.022227 |
1 | SK01 | 19-08-20 | 0.022227 |
1 | SK01 | 17-08-20 | 0.022227 |
1 | SK01 | 14-08-20 | 0.022227 |
1 | SK01 | 12-08-20 | 0.022227 |
1 | SK01 | 10-08-20 | 0.022227 |
1 | SK01 | 07-08-20 | 0.022227 |
1 | SK01 | 05-08-20 | 0.022227 |
1 | SK01 | 03-08-20 | 0.022227 |
1 | SK01 | 31-07-20 | 0.01667 |
1 | SK01 | 29-07-20 | 0.01667 |
1 | SK01 | 27-07-20 | 0.01667 |
1 | SK01 | 22-07-20 | 0.01667 |
1 | SK01 | 20-07-20 | 0.01667 |
1 | SK01 | 17-07-20 | 0.01667 |
1 | SK01 | 15-07-20 | 0.01667 |
1 | SK01 | 13-07-20 | 0.01667 |
1 | SK01 | 10-07-20 | 0.01667 |
1 | SK01 | 08-07-20 | 0.01667 |
1 | SK01 | 06-07-20 | 0.01667 |
1 | SK01 | 03-07-20 | 0.01667 |
1 | SK01 | 01-07-20 | 0.01667 |
1 | SK01 | 29-06-20 | 0.011113 |
1 | SK01 | 24-06-20 | 0.011113 |
1 | SK01 | 22-06-20 | 0.011113 |
1 | SK01 | 19-06-20 | 0.011113 |
1 | SK01 | 17-06-20 | 0.011113 |
1 | SK01 | 15-06-20 | 0.011113 |
1 | SK01 | 12-06-20 | 0.011113 |
1 | SK01 | 10-06-20 | 0.011113 |
1 | SK01 | 08-06-20 | 0.011113 |
1 | SK01 | 01-06-20 | 0.011113 |
1 | SK01 | 29-05-20 | 0.005557 |
1 | SK01 | 22-05-20 | 0.005557 |
1 | SK01 | 15-05-20 | 0.005557 |
1 | SK01 | 08-05-20 | 0.005557 |
1 | SK01 | 30-04-20 | 0 |
1 | SK01 | 24-04-20 | 0 |
1 | SK01 | 16-04-20 | 0 |
1 | SK01 | 07-04-20 | 0 |
2 | SK01 | 03-07-20 | 0.270229 |
2 | SK01 | 06-07-20 | 0.270229 |
2 | SK01 | 08-07-20 | 0.270229 |
2 | SK01 | 10-07-20 | 0.32537 |
2 | SK01 | 13-07-20 | 0.32537 |
2 | SK01 | 22-07-20 | 0.370226 |
2 | SK01 | 15-07-20 | 0.32537 |
2 | SK01 | 27-07-20 | 0.370226 |
2 | SK01 | 17-07-20 | 0.370226 |
2 | SK01 | 29-07-20 | 0.370226 |
2 | SK01 | 07-04-20 | 0 |
2 | SK01 | 16-04-20 | 0 |
2 | SK01 | 24-04-20 | 0 |
2 | SK01 | 30-04-20 | 0 |
2 | SK01 | 08-05-20 | 0.005557 |
2 | SK01 | 15-05-20 | 0.005557 |
2 | SK01 | 22-05-20 | 0.057414 |
2 | SK01 | 29-05-20 | 0.057414 |
2 | SK01 | 01-06-20 | 0.06297 |
2 | SK01 | 08-06-20 | 0.11458 |
2 | SK01 | 10-06-20 | 0.11458 |
2 | SK01 | 12-06-20 | 0.11458 |
2 | SK01 | 15-06-20 | 0.163029 |
2 | SK01 | 19-08-20 | 0.412584 |
2 | SK01 | 17-06-20 | 0.163029 |
2 | SK01 | 19-06-20 | 0.213209 |
2 | SK01 | 22-06-20 | 0.213209 |
2 | SK01 | 24-06-20 | 0.213209 |
2 | SK01 | 29-06-20 | 0.264672 |
2 | SK01 | 01-07-20 | 0.270229 |
2 | SK01 | 20-07-20 | 0.370226 |
2 | SK01 | 31-07-20 | 0.370226 |
2 | SK01 | 03-08-20 | 0.412584 |
2 | SK01 | 05-08-20 | 0.412584 |
2 | SK01 | 07-08-20 | 0.412584 |
2 | SK01 | 10-08-20 | 0.412584 |
2 | SK01 | 12-08-20 | 0.412584 |
2 | SK01 | 14-08-20 | 0.412584 |
2 | SK01 | 17-08-20 | 0.412584 |
2 | SK01 | 21-08-20 | 0.412584 |
2 | SK01 | 25-08-20 | 0.412584 |
2 | SK01 | 26-08-20 | 0.412584 |
2 | SK01 | 28-08-20 | 0.412584 |
2 | SK01 | 31-08-20 | 0.412584 |
4 | IN02 | 01-06-20 | 0.1234 |
4 | IN02 | 02-06-20 | 0.564 |
4 | IN02 | 03-06-20 | 0.225 |
4 | IN02 | 07-07-20 | 0.1553 |
4 | IN02 | 08-07-20 | 0.169 |
4 | IN02 | 09-07-20 | 0.122 |
4 | IN02 | 01-08-20 | 0.1365 |
4 | IN02 | 02-08-20 | 0.188 |
4 | IN02 | 03-08-20 | 0.889 |
4 | IN02 | 04-08-20 | 0.954 |
4 | IN02 | 05-08-20 | 0.44 |
thanks for the help
Hi Sharma ,
thanks for the reply , i was wondering then how would i able to calculate a simple moving average and also show the averages in the visual over a period of Months?
im quite new to power BI thats why im not really familiar with what you said 😕
User | Count |
---|---|
103 | |
90 | |
78 | |
72 | |
68 |
User | Count |
---|---|
108 | |
96 | |
95 | |
74 | |
71 |