Forum Discussion

satishkoneri's avatar
satishkoneri
Frequent Visitor
6 years ago

Switch Dimension from multiple dimension tables

Hi,

I am new to Power BI and I have a situation where I need to develop a very flexible dashboard as below:

1. Switch between various metrics type (eg: Amount, Quantity)

2. Switch between various metrics (eg: curryear, lastyear, yearminus2)

3. Switch between various dimensions (eg: custID, custName, custType, prodID, prodName, prodType, etc)

 

Data Model is:

FactTable - custID, prodID, currYearAmt, currYearQty, lastYearAmt, lastYearQty, yearMinus2Amt, yearMinus2Qty

custDimTable - custID, custName, custType 

prodDimTable - prodID, prodName, prodType 

Above is just as an example, there are about 20 different dimension attributes required to switch, which are connected using various dimention tables 

 

I was able to solve 1 & 2 using disconnected table trick and calculated measures. For 3, looking around in this community forum I could see an option to create duplicate table and unpivot. However this option works if all my dimensions are in the same table unlike in mycase. 

 

Please can someone advise if there is a solution to create a slicer and switch dimensions, which are connected to multiple dimension tables.

 

Any help will be greatly appreciated.

 

4 Replies