Forum Discussion
Kees
Helper I
3 years agoSimple calculation
Hi, Here is the new bee again. What seems a simple action (at least in EXCEL) is substracting (or multiplying / deviding / adding)) with values seems for me harder then I thought. When I sear...
- Anonymous3 years ago
Hi Kees ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours. The model relationships are shown below.
(2) We can create measures.
Actual - Forecated = MAX('Actual'[Actual Hours])-MAX('Forecated'[Forecated hours])Actual Oct - Forecast Hours = CALCULATE('Actual'[Actual - Forecated],FILTER('Actual','Actual'[Month]="Oct"))(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
3 years agoHi,
You should be using the "Unpivot Other Columns" feature in the Query Editor to flatten the table first. To receive further help, share the two tables (in a format that can be pasted in an MS Excel workbook).