Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

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

@Anonymous

 

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

 

 




Lima - Peru

View solution in original post

6 REPLIES 6
v-huizhn-msft
Employee
Employee

Hi @Anonymous,

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

@Anonymous

 

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

 

 




Lima - Peru

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!




Anonymous
Not applicable

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.

Anonymous
Not applicable

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

@Anonymousthe 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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.