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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
prachipriyam5
Regular Visitor

Dynamic column based on slicer selection

Hi,

 

I have a requirement where we want the users to have the flexibility to change the level of dimension dynamically.

Suppose we have dimension as below and Marks is the measure.

Department

Student

Class

Marks

Now, all the above dimension should be selected from the slicer. If the user selects Department , data should be aggregated by Marks and when user selects  department and Student then marks should be aggregated at Department and Student level. The view should look like as below

 

1st Selection View  2nd Selection View  
User SelectionDepartment User SelectionDepartment,Student 
      
DepartmentMarks DepartmentStudentMarks
Science100 ScienceAA150
Arts100 ScienceAA220
   ScienceAA330
   ArtsBB150
   ArtsBB220
   ArtsBB330

 

 

Thanks

Prachi

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Prachi,

 

The visuals seem simple. But we can't add or remove columns by slicers for now. Please vote up this idea or create a new one.

 

Best Regards,

Dale

 

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.