I can only imagine no one has assisted on this probably because we need an example file to work through to really assist on this. Also it’s not really that clear what formula you are using in the image you’ve entered into the post here.
Model seems relatively simple so it shouldn’t be too difficult to work this out.
If you could add a demo Power BI model here of the scenario that would be helpful (not an PowerPivot one if possible)
@AndrewI
Hope you do not mind, but I took a stab at this. There’s alot going on in that file and not 100% sure why you have two date tables, but using what was in the file, let’s see if this is what you had in mind.
Using your Remuneration measure it looked like it was correct at the row grand total for each employee name, but not at the column grand total of the month. Going on the belief that is true, I simply created a new measure to SUMX over the values of the Employee name using your original measure as the expression: rem 2 = SUMX( VALUES( 'Monthly Salary'[Employee Name]), [Remuneration])
Without Months on the columns and just employees on rows you will get the following table:
Thanks for the reply. I am not completely able to replicate your results. The Measure above does fix up my column Totals, however my Row Totals are still incorrect. did you change the model in some other way? I’ve updated the .pbix file above to include your measure.
You can disregard the last post. The issue was the bracket placement in the Remuneration Measure.
Should be Remuneration:=SUMX(‘Monthly Calendar’,[Total Week Days]/‘Monthly Calendar’[Week Days in Month][Projected Salary])
not Remuneration:=SUMX(‘Monthly Calendar’,[Total Week Days]/‘Monthly Calendar’[Week Days in Month])[Projected Salary]