Forum Discussion

Sagar01's avatar
Sagar01
New Member
2 years ago
Solved

Dynamic Total Count Percentage

Hello everyone, I'm reaching out regarding the provided matrix, where I'm aiming to calculate the percentage change in opportunities based on the total count of countries. This involves utilizin...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Sagar01 

    Please refer to the following solution.

    1.Create a measure to calculate count of stage.

    Total Opportunities= Count(Opportunity[Stage])

    2. Create another measure to calculate %

    % Opportunities =
    VAR a =
        CALCULATE (
            [Total Opportunities],
            FILTER (
                ALLSELECTED ( Account ),
                [Billing Country] IN VALUES ( Account[Billing Country] )
            )
        )
    RETURN
        DIVIDE ( [Total Opportunities], a )
    

    Best Regards!

    Yolo Zhu

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

     

    Best Regards!

    Yolo Zhu

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