Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Dynamic dimensions

Hello everyone,


This is the dynamic measures using SWITCH example :


SelectedMeasure = IF(HASONEVALUE(tblParamMeasures[MeasureName]),SWITCH(VALUES(tblParamMeasures[MeasureName]),"Avg Unit Price",AVERAGE(fctSales[UnitPrice]),"Avg Quantity Ordered",AVERAGE(fctSales[OrderQuantity]),"Avg Tax Amount",AVERAGE(fctSales[TaxAmt]),"Avg Product Cost",AVERAGE(fctSales[ProductStandardCost])),AVERAGE(fctSales[UnitPrice])).


Are you possible to do with Dimensions ?? if yes  How ?


I want to do dynamic dimensions with switch.


Community Support
Community Support

Hi, @alsolok 

I'm not quite sure what kind of output you expect.

Do you want to select different measure through the slicer?, if so, then the formula you provided above can already achieve it. It would be very helpful if you could provide a screenshot of the output you want.


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

Super User IV
Super User IV

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors