Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
2 ACCEPTED SOLUTIONS

@Anonymous 

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

Fowmy_0-1594582073816.png

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!



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

Icey
Community Support
Community Support

Hi @Anonymous ,

 

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

per.PNG

 

 

Best Regards,

Icey

 

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

View solution in original post

8 REPLIES 8
Fowmy
Super User
Super User

@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?

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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

@Anonymous 

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

Fowmy_0-1594561406769.png

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

APPRECIATE KUDOS!

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Hi

Its not quite what i want, although it sort of in the same directio. i want the unique Team Leads in column 1 instead of the employees and rest of the columns to give the % of count of a particular rank divided by the total number of employees of that particular team lead

@Anonymous 

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

Fowmy_0-1594582073816.png

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!



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

this is perfect! how do i convert the values to %?

Icey
Community Support
Community Support

Hi @Anonymous ,

 

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

per.PNG

 

 

Best Regards,

Icey

 

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

Anonymous
Not applicable

Great! Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.