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
Anonymous
Not applicable

Average of a column

Hi, 


Im trying to get a coloumn to show the average linear sale density for the all the values in the row "linear sales density" to use as a comparison. I am expecting the value to be the same in each row how ever getting a different figure for each row. I cant share data as its commercially sensitive however. The linear sales density is a measure that takes the average weekly sales stored in an excel backsheet Data{AWS] and multiplies it by the width spt{PlanogramWidth]

 

Capture.JPG

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous 

 

Something like this ...may be

 

Average LSD =
AVERAGEX ( ALLSELECTED ( TableName[RowFieldinyourVisual] ), [LSD] )

Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

Hi thank you for the prompt response and suggestion

 

however that still produces different values on each row.

 

Thanks again.

hi, @Anonymous 

You need to use AVERAGEX and “all” functions to create a new measure

and for your requirement, it needs detailed data structure, if possible, please use virtual data or create a simple sample pbix file for us to have a test.

 

 

Best Regards,

Lin

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the 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.