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
Daphne-DL
Frequent Visitor

difference in averagex in measures and average in filters

Hi, so I used a measure to calculate the measure of elapsed days from one event to another.

The values derived are different from the results gotten from the filter panel (average).

 

here's the measure used: 

 
Measure = AVERAGEX(DISTINCT(items[receptacleid]),CALCULATE(AVERAGE(items[Column])))
 
Can someone explain to me where are there some differences in the value?
Image as per below dropbox link.
 
3 REPLIES 3
dax
Community Support
Community Support

Hi Daphne-DL, 

You could refer to my image for details:

523.PNG

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Daphne-DL
Frequent Visitor

Hi, to clarify, In this case, Distinct actually refers to distinct rows.

Is there any way to make a measure like this work based on Distinct columns only?

dax
Community Support
Community Support

Hi Daphne-DL,

I am not clear about your requirement, so if possible, could you please inform me more detailed requirement(such as your sample and expected output)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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.