Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create a table from the source data

Hi

Need help in creating a dynamic table out of the employee source data based on a particular column which has names of team leads (includes duplicates). This new table should count the ranks (text)  our each employee of a team lead.

Data Source - This gets updated everyday.

EmployeeRegionCountryTeam LeadRank
AdrianaEuropeUKElizabethEE+
Albert EuropeUKElizabethME+
AnnaAsiaPhilippinesElizabethEE
BlaiseAmericasUSAGeraldinEE
CarolineAmericasCanadaGeraldinEE
CeciliaMiddle EastUAEGeraldinNI
ChienAsiaGreater ChinaIngridME
DorothyEuropeIrelandIngridME+
EdmondMiddle EastUAEIngridEE
EdwinEuropeScotlandJaneEE+

 

Team Lead Table

Team LeadEE CountEE+ Count
Elizabeth11
Geraldin20
Ingrid10
Jane01
  • Fowmy's avatar
    Fowmy
    6 years ago

    Anonymous 

    Okay, this is what you are looking for I think:

    Employee Rank % = 
    DIVIDE(
        COUNT(Employee[Employee]),
        CALCULATE(
            COUNT(Employee[Employee]),
            ALLSELECTED(Employee[Rank])
        ) 
    )

     

    If you are satisfied with my answer, please mark it as a solution so others can easily find it.

    APPRECIATE KUDOS!



  • Icey's avatar
    Icey
    6 years ago

    Hi Anonymous ,

     

    Select the column/measure you want to modify, then you will find "%" in menu bar.

     

     

    Best Regards,

    Icey

     

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

8 Replies

  • Anonymous 

    Do you need to have a table created in the format you need or are you trying to show in it in a visual in the same layout?

    • Anonymous's avatar
      Anonymous
      Not applicable

      No, thats how my output visual should be, however i need to further calculate the % of the ranks of each TLs based on the employee strength

      • Fowmy's avatar
        Fowmy
        Super User

        Anonymous 

        Then you simply use a MATRIX visual and plot your fields as I did below.

        If you are satisfied with my answer, please mark it as a solution so others can easily find it.

        APPRECIATE KUDOS!