Forum Discussion

harshanand007's avatar
harshanand007
Regular Visitor
8 years ago
Solved

Select columns in table dynamically based on Slicer

Hello All, 

 

I have a hierarchy of metrics and I want the same to be displayed on the table based on the slicer selection. 

 

For example: 

 

This is the school level data and all of the columns other than the first one is numeric. 

 

ID# StudentsStudents AttendanceTeachers AttendanceAverage Class Size
121780.80.9423
134540.70.812

 

Another table is categories of these metrics

CategoryMetrics
Students# Students
StudentsStudents Attendance
WorkforceTeachers Attendance
SchoolAverage Class Size

 

I have a slicer in my dashboard which shows Category values.

 

I want to create a table which shows me ID and the relevant metrics based on the category selection. I am using simple table graph available in Power BI.

 

If I select Students in my slicer, the table should show - ID, # Students and Students Attendance columns.

 

Could you help me how to solve this?

 

Thanks!

1 Reply