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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dw700d
Post Patron
Post Patron

filtering related tables

I have established a 1 to many relationship between two tables . The “Location Table” contains unique identifiers and the “Transaction Table” contains many.The tables are below.

 

 

                        Location Table

Asset #AddressEmployeeCost
11st streetMike100
219th avenueMike200
3brown rdDave100
47th avenueDave400
5tulip laneRon500
6 8th streetRon600

 

              Transaction Table

ReferenceAsset #Exemption
A1Y
B2Y
D4N
D3N

 

I have created a new table on my dashboard and I have added the "Exemption column" from the "Transactions Table" to columns from the "Locations Table". My problem occurs when I try to filter the new table  by the Exemption column. All columns filter except the cost column. For instance, when i filter the new table by Exemption = "Y" the total cost should be 300 but that is not occuring the total cost remains 1900.

 

The other columns that are responding to the filter are text columns. Why wont my cost column( which is numerical) respond?

 

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @dw700d,

Did you mean to create a dynamic calculated column based on the filter effect? If that is the case, it is impossible.
Calculate column and filter are hosted on different levels and you can't use the child to affect the parent.

Notice: the data level of power bi.

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.