Forum Discussion
Forecast accuracy
- 5 years ago
Hi epaez ,
Basically you can export data from your line chart visual which includes forecast value like in 2019, here are the steps that you can try:
1. Export data in the line chart including 2019 forecast as a .csv file
2. Import the .csv file and transform data like only keep the date 2019 and the forecast value column in power query, close and apply it.
3. Create a relationship between the new table and the initial table based on the date field.
4. Create a measure to calculate the accuracy
Forecast accuracy = DIVIDE(SELECTEDVALUE('Sales Table'[Product sales]), SELECTEDVALUE('Forecast sales by 2019'[forecastValue]))5. Use a table visual to show the comparison
Attached a sample file in the below, hopes to help you.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi epaez ,
Basically you can export data from your line chart visual which includes forecast value like in 2019, here are the steps that you can try:
1. Export data in the line chart including 2019 forecast as a .csv file
2. Import the .csv file and transform data like only keep the date 2019 and the forecast value column in power query, close and apply it.
3. Create a relationship between the new table and the initial table based on the date field.
4. Create a measure to calculate the accuracy
Forecast accuracy =
DIVIDE(SELECTEDVALUE('Sales Table'[Product sales]), SELECTEDVALUE('Forecast sales by 2019'[forecastValue]))
5. Use a table visual to show the comparison
Attached a sample file in the below, hopes to help you.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.