Forum Discussion

MitaSaxena's avatar
MitaSaxena
Frequent Visitor
5 years ago
Solved

Percentage calculation for hierarchical data

Hi All, I am stuck with my power bi report & wondered if someone knows how to do this? I am trying to calculate turnover % - the hierarchical data is by department, team and location - I can create ...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi  MitaSaxena  ,

    According to your description, I create this data:

    Here are the steps you can follow:

    1. Create measure.

    % As should be =
    DIVIDE(SUM('Table'[Leavers]),SUM('Table'[Staff Number]))

    2. Result

     

    You can downloaded PBIX file from here.

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.