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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Adam1125
Frequent Visitor

Average weight across tables

image.png

I have the following tables, and I need to find the average weight all the IDs sold in Table 2 based off the recorded weights stored in table 2. How do I do this?

5 REPLIES 5
waltheed
Impactful Individual
Impactful Individual

Can you explain this a bit more with some data? I do not see any recorded weights in Table2. Why is there a bi-directional crossfilter between the two?

Cheers, Edgar Walther
ITsmart BI and Analytics consultant
Anonymous
Not applicable

You could merge the two tables together into a new table in query editor. Then all the fields will be available in new table. I could be analyzing your situation incorrectly though. 

Thanks for your reply.

This is a mocked up model of what I'm trying to accomplish, and unfortunately, in my actual use case, table 2 is too large to accomodate additional columns (file size is large enough and I'm trying to keep it from growing our of control).

Hi @Adam1125,

 

Since we can't see you actual situation. Could you please share us some sample data and its corresponding expected result if possible?  Otherwise we don't know where to start.

 

And you want to find the average weight all the IDs sold in Table 2 based off the recorded weights stored in table 2. Then how could we know which IDs are sold? What's the logic to make this calculation?

 

Thanks,
Xi Jin.

Hi @v-xjiin-msft

Here's what some sample data of what the tables might look like, and what I'm trying to accomplish.

 

Sample Tables, with Average Weight of Items Sold (probably a measure I'd want to build  as a helper)Sample Tables, with Average Weight of Items Sold (probably a measure I'd want to build as a helper)Average Total Weight - the end result, with the ability to slice into  individual locations as shownAverage Total Weight - the end result, with the ability to slice into individual locations as shown

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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