cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Avarage Calculating

Hi There ;

 

İ need to calculateof Avarage Qty of each vendor's in another table as column

 

İ have a sheet as below 

 

Capture.JPG

 

and i have a table as below Capture-B.JPG

 i want to create a column on   above table which gives " avarage "  of qty for each vendor as below : 

 

 

Capture-c.JPG

 

 

thanks in advance 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Avarage Calculating

Let's call your tables Table1 and Table2.

 

Relate Table2 to Table1 on Vendor Name column.

 

In Table2, create this column:

 

Column = AVERAGEX(RELATEDTABLE('Table1'),[Qty])

---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: Avarage Calculating

Let's call your tables Table1 and Table2.

 

Relate Table2 to Table1 on Vendor Name column.

 

In Table2, create this column:

 

Column = AVERAGEX(RELATEDTABLE('Table1'),[Qty])

---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
Post Patron
Post Patron

Re: Avarage Calculating

 perfect!! @Greg_Deckler  thank you very much!

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors