cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors