I’ve attached the pbix. I have the four slicers I’d like to use: 1) Fiscal Year, 2) Organization, 3) Project, 4) Project Type. @sam.mckay I had a couple questions, that I really thought would be easier. The measure below is saying. Calculate the standard deviation for FactInvoiceTable and the ALLEXCEPT means remove other filters except for ‘DimProject’[DimProj PROJECT_KEY] & DimProject’[DimProj PRIMARY_PROJECT_TYPE]?
I originally created a measure for each individually, but I thought it was a little inefficient, so I wrote the above filter.
Also, I’m going to go through each total in the below table that is wrong and work through the IF HASONEFILTER exercise. Does that mean that each Measure that has a wrong total, I need to use a IF HASONEFILTER argument?forum_example_500.pbix (236.3 KB)
Also though you don’t have a Date table?? You need this.
Maybe the below should just be your date table
Regarding the standard deviation calculation.
I believe you are correct in your first statement. All you are doing with the ALLEXCEPT statement is remove any filters coming from the Org table EXCEPT for the organization key column.
Regarding the totals, just first think, ‘what is the context of the total’. That is the key.
If you can understand the context, then you can understand what the formula is doing in that context.
If the total is just not right, then yes you can use the HASONEFILTER technique is need be.