Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Create an avarage score per group

Hello all,

 

I have a question. I want to create an average score per group for a company. I already created a score per user (I've did this by dividing the 'halfhouractivity' by the 'daysregistered'.  Every user is placed within a group and I want to create a overview where I can see per group how many users are in that group, and what there average score is for that group. See image below.

This is what I already created. An overview per user and what their score is. I simply can not add the group to this, because then I get the wrong information in my visualization. Then I get mostly the same user keys at every group.

 

 

 

Does anyone know how I can achieve an overview per group.

 

Kind Regards,

 

Dwayne

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    To give some more info:

     

    This is my model where you can see the relationships for my tables.

     

  • Anonymous Can you share sample data and sample output in table format?

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak For what tables do you need this? All of them?

  • v-alq-msft's avatar
    v-alq-msft
    Icon for Community Support rankCommunity Support

    Hi, Anonymous 

     

    I'd like to suggest you  set the cross filter direction  between 'dUser' and 'fUserGroupCommunity' and the cross filter direction between 'dUser' and 'fCommunityConcurrentUsers' as 'Both'. For most relationships, the cross filter direction is set to Both. The Both setting enables Power BI Desktop to treat all aspects of connected tables as if they're a single table. 

     

    For further information, you may refer to the document .

     

    Best Regards

    Allan

     

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