Forum Discussion

bogomda's avatar
bogomda
Resolver I
7 years ago
Solved

measure calculation - very odd problem

i wrote a simple measure Managed Services = CALCULATE( SUM(Budget[Amount], Budget[Account Group] = "Managed Services") which internally should translate into:   CALCULATE( ...
  • Baskar's avatar
    Baskar
    7 years ago

    bogomda 

     

    Got it the issue, You are 100 % correct it is becasue of the sorting order. 

    Try this, It will help you. 

     

    Managed Services Budget ALL =
    CALCULATE([Total Budget],FILTER(ALL(Budget[Account Group],Budget[Account Group Sort Order]),
    Budget[Account Group]="Managed Services"))