cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alexandrem
Frequent Visitor

Average not working as expected

I have an table called "Suporte", each rows represents one "quantity", so, I made a column like this "Quantidade = 1", given an ordinary graphic, the sum function works fine! But average doesn't 😞

 

Here is the screenshot:

Sem Título-1.png

 

Any help?

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@alexandrem

 

Hello, The Average of a list of 1s is 1.

 

 




Lima - Peru

View solution in original post

6 REPLIES 6
v-huizhn-msft
Microsoft
Microsoft

Hi @alexandrem,

Have you resoved your issue? You select the Average(highlighted in yellow background), it doesn't work? Could you please post more details for further analysis?

1.PNG

Best Regards,
Angelia

Vvelarde
Community Champion
Community Champion

@alexandrem

 

Hello, The Average of a list of 1s is 1.

 

 




Lima - Peru

View solution in original post

KHorseman
Community Champion
Community Champion

What result are you expecting instead of 1?





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

Proud to be a Super User!




Sorry, my example wasn't so good. If my drilldown is focusing on year, whats the average by month, if is focusing on month, whats the average by weekday.

It will probably be somewhat tricky to get the dynamic behavior you are looking for (sometimes average per month, sometimes average per day).  Doable, but not trivial.

 

In general, I would think about your average as  DIVIDE([Total Quantity], [Total Periods])

If you were talking the average per month... [Total Periods] could be something like DISTINCTCOUNT(Calendar[MonthNum]).  For per day average, probably just COUNTROWS(Calendar).

Through some   IF (ISFILTERED(...) )  you can likely get what you want ...

@alexandremthe time frame doesn't matter. As @Vvelarde said, if every value is 1, the average is 1.





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

Proud to be a Super User!




Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors