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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
manishguduri
Frequent Visitor

Minimizing and Maximizing table rows(Kind of drilldown)

Hi Team,

    I have employee table where I have the Employee details like Id, Name, Location details, Role and Teamlead Id and TeamLead table where I have Id, Name, Location details, and Role.

My requirement is, initially I should show the Team lead Name, Location details, Role and Number of employees in his team and when I expand by clicking on that Teamlead, I should get the details of his employees Name, Location details, Role and 1 for Number of employees column.

Can we achieve this in Powerbi?

 

Sample Images

Initial table looks like this

manishguduri_0-1701841834513.png

When we expand the rows it should look like this

manishguduri_1-1701841871502.png

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @manishguduri ,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Hi @Anonymous, the data looks similar to this.

Expected results are 

manishguduri_0-1702445911183.png

 

When we expand the rows it should look like this

manishguduri_1-1702445910764.png

 

 

 

Team Lead Table 

UserIdNameRole StateDistrictLocality
EMP1002TL1BackendKarnatakaBengaluruWhitefield
EMP1064TL2Full StackMaharastraMumbaiGoregaon
EMP1012TL3DevOpsMaharastraMumbaiGoregaon
EMP1068TL4AIKarnatakaBengaluruWhitefield
EMP1048TL5BIKarnatakaBengaluru

Whitefield

 

 

Team Members table

UserIdNameRole StateDistrictLocalityTeamLeadId
EMP1111EMP Name 1BackendKarnatakaBengaluruWhitefieldEMP1002
EMP1112EMP Name 2Full StackMaharastraMumbaiGoregaonEMP1064
EMP1113EMP Name 3DevOpsMaharastraMumbaiGoregaonEMP1012
EMP1114EMP Name 4AIKarnatakaBengaluruWhitefieldEMP1068
EMP1115EMP Name 5BIKarnatakaBengaluruWhitefieldEMP1048
EMP1116EMP Name 6BackendTelanganaHyderabadSecunderabadEMP1002
EMP1117EMP Name 7Full StackMaharastraMumbaiGoregaonEMP1064
EMP1118EMP Name 8DevOpsMaharastraMumbaiGoregaonEMP1012
EMP1119EMP Name 9AITelanganaHyderabadHi-Tech CityEMP1068
EMP1120EMP Name 10BackendMaharastraMumbaiGoregaonEMP1002
EMP1121EMP Name 11Full StackTelanganaHyderabadSecunderabadEMP1064
EMP1122EMP Name 12DevOpsMaharastraMumbaiGoregaonEMP1012
EMP1123EMP Name 13AITelanganaHyderabadHi-Tech CityEMP1068
EMP1124EMP Name 14BIKarnatakaBengaluruMarathahalliEMP1048
EMP1125EMP Name 15BIKarnatakaBengaluruMarathahalliEMP1048
EMP1126EMP Name 16BIKarnatakaBengaluruWhitefieldEMP1048
EMP1127EMP Name 17AITelanganaHyderabadJubilee HillsEMP1068
EMP1128EMP Name 18Full StackKarnatakaBengaluruMarathahalliEMP1064

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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