Filters from many-to-many to one-to-many Power Pivot

AEAA

New Member
Joined
Apr 12, 2022
Messages
31
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi all,

I am fairly new to Power Pivot.

I am having some trouble understanding filtering between related tables.

I have my main table "Demographics", in which "Index" is Unique so:

Index Role
1 Engineer
2 Engineer
3 Manager

Then I have my "Automation Potential" table which has various info for Index

Index Category Potential
1 Calculation 10
1 Documentation 7
2 Calculation 5
2 Documentation 3
3 Calculation 6
3 Documentation 8

And finally I have "Type_Of_Structure" that has repeated values for index

Index Structure
1 Bridges
1 Tunnels
2 Other
2 Tunnels
3 Bridges

So both "Automation Potential" and "Type_Of_Structure" have a Many to One relationship with "Demographics". Meaning that every filter I apply to Demographics works properly on both tables. But I would like to filter "Type_Of_Structure", for example, "Bridges" and get "Automation Potential" to be filter by "Bridges". From what I understand the filter does not flow upstream, so I do not know how to bypass this.

FILTER = "Bridges"

---> "Automation Potential"

Index Category Potential
1 Calculation 10
1 Documentation 7
3 Calculation 6
3 Documentation 8


------


Furthermore, If I add three columns in my "main" Demographics table with 1s and 0s and then create separate slicers for Bridges, Tunnels and Other the calculation works fine, so not sure how to do this in my PowerQuery or Data Model:

Index Role Bridges Tunnels Other
1 Engineer 1 1 0
2 Engineer 0 1 1
3 Manager 1 0 0

1668541123805.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Write a measure with calculate

calculate(original measure that doesn’t work as needed, CROSSFILTER(Demog[column], typeOfStr[column],BOTH)

do the same for the other table.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,816
Messages
6,181,138
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top