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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
JBrunetUdec
Frequent Visitor

Filter one table to have an effect in second calculated table

Hi! I'm new to PowerBI and I haven't been able to find an answer to what I'm looking for:

 

I have a table that comes from excel, and from that table I generated another calculated table (with the DISTINCT function). The first table has a list of assets and costs associated with a date, and the calculated table has the average of costs for each asset:

 

JBrunetUdec_0-1664975932417.png

 

What I want to create, is a slicer visual that changes the results of Table 2, by changing the range of the date considered, here is an example of what I need:

 

JBrunetUdec_1-1664976212241.png

The most common response I get is that I should create a relationship between date fields in both tables, but table 2 has no date field. And just adding the slicer doesn't change the results of the second table.

 

How can I accomplish this? I know this may be a dumb question, but any help will be appreciated.

 

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @JBrunetUdec ,

 

You don't need to do anything clever here. Get rid of the calculated table as it's just taking up time and space.

 

Write a measure like this:

_avgAssetCost = AVERAGE(Table1[Cost])

 Then chuck it in a visual with Table1[Asset].

 

BA_Pete_0-1664985104390.png

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @JBrunetUdec ,

 

You don't need to do anything clever here. Get rid of the calculated table as it's just taking up time and space.

 

Write a measure like this:

_avgAssetCost = AVERAGE(Table1[Cost])

 Then chuck it in a visual with Table1[Asset].

 

BA_Pete_0-1664985104390.png

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.