Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Calculate Individual Client vs Client Sector vs All Clients

Hi, I am hoping someone can help me with a measure I am looking to build.   I have a dashboard which has a slicer for client names.   I want to build a measure which looks at the Time to Submi...
  • v-kkf-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    Please try the following formula:

     

    Avg_Industry = 
    VAR tab =
        SUMMARIZE (
            ALL ( client ),
            client[Customer ID],
            client[Industry],
            "s", [Time to Submit]
        )
    RETURN
        AVERAGEX ( FILTER ( tab, [Industry] = MAX ( client[Industry] ) ), [s] )
    Avg_Total = 
    AVERAGEX ( ALL ( client ), [Time to Submit] )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.