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
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
Solution Supplier
Solution Supplier

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
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.

Top Solution Authors