Forum Discussion
lenawr
1 year agoNew Member
filtered calculation changes the values
Hi, I have created calcualtion that is supossed to calclate % of bench and alloctaed countrywise. Now when I want to see only % of bench it calculates it as 100%. How to see filtered out bench as i...
- 1 year ago
Hi lenawr ,
Here is your solution.
The Dax Measure is as below.
Per = var current_val = sum('Table'[GGID]) Var total_Val = calculate(sum('Table'[GGID]),ALLEXCEPT('Table','Table'[Country])) return DIVIDE(current_val,total_Val,0)If this works, Accept as solution, Else let me know whats going wrong.
lenawr
1 year agoNew Member
Hi v-ssriganesh unfortunately none of solutions worked
Rupak_bi
1 year agoSuper User
Hi lenawr ,
Here is your solution.
The Dax Measure is as below.
Per =
var current_val = sum('Table'[GGID])
Var total_Val = calculate(sum('Table'[GGID]),ALLEXCEPT('Table','Table'[Country]))
return
DIVIDE(current_val,total_Val,0)
If this works, Accept as solution, Else let me know whats going wrong.