Forum Discussion
Computing rollup weighted sum
- 7 years ago
So based on your new requirement to apply the weightings differently at different levels you might be able to do something like the following which just dynamically changes the factor inside the SUMX based on which columns are filtered
SUMX( table1, IF(ISFILTERED( table1[Project]), 1, -- at the project level multiply by 1
IF( ISFILTERED(Program], [Project Weightage], -- at the program level apply the project weight
[Program Weightage] * [Project Weightage]) -- at the total level apply program and project weighting
* [Progress])
Hi Gospel,
Seems like IsInscope is computing the % correctly when I filter at L3 - Phase.
When I filter at L2 - Package level, IsFiltered computation returns the correct value.
Is there a way to combine both IsFiltered and IsInScope to cater both filtering at L3 - Phase and L2 - Package as one single measure?
Thanks again.
jav226 wrote:
Seems like IsInscope is computing the % correctly when I filter at L3 - Phase.
When I filter at L2 - Package level, IsFiltered computation returns the correct value.
Is there a way to combine both IsFiltered and IsInScope to cater both filtering at L3 - Phase and L2 - Package as one single measure?
Hi jav226 - I'm seeing the same figures returned by the IsFiltered and IsInScope versions of the calc. It's hard to fix a problem I can't see. Are you able to share the details (or screenshots) of how you have your visuals configured when they return the "incorrect" results?