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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Average of Count Per Day

Hi,

 

I am attempting to take the average of a count per day. Essentially the "Stages Complete" is a count of the number of rows within the database that are stamped with the same date. I need an average of this count, that will roll as new dates come in.

 

The black column is my attempt at finding the average with

Column = AVERAGEX(VALUES(WVSTIMINT[DTTMEND].[day]),CALCULATE(COUNT(WVSTIMINT[INTREFNO])))

 

Thanks,

 

Photo.PNG

 

 

 

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @Anonymous

First, you should know that 

1. Calculation column/table not support dynamic changed based on filter or slicer.
2. Measure can be affected by filter/slicer, so you can use it to get dynamic summary result.

here is reference:

https://community.powerbi.com/t5/Desktop/Different-between-calculated-column-and-measure-Using-SUM/t...

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

 

Second, if you need to use ALLxxx functions in DAX.

 

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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