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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nmckeown1
Helper II
Helper II

Daily Average won't update using a year slicer

I am using an average calculation for the number of chats per day answered through WhatsApp. I created a summary table that has a total in the WhatsApp column for each date of the year:

 
nmckeown1_0-1761119977402.png

 

I used this DAX for a daily average of the WhatsApp column: 

Daily Average_Whatsapp =
AVERAGEX(StandardDevTable_Daily, StandardDevTable_Daily[WhatsApp])  
 
This works ok, however it is static for each year:
nmckeown1_2-1761120038602.png

How do I edit the measure so it changes with whatever year is selected in the year filter?

 
1 ACCEPTED SOLUTION
nmckeown1
Helper II
Helper II

Solved:

I used my already existing aggregated table, instead of the summary table in the calculation - and this worked with the year filters.

 

 

Daily_average_whatsapp =
CALCULATE(
AVERAGEX( VALUES('int dim_dates'[short_date]), [Target WhatsApp]),
ALL('int dim_dates'[short_date])
)

View solution in original post

4 REPLIES 4
v-kpoloju-msft
Community Support
Community Support

Hi @nmckeown1

Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to @Praful_Potphode@Cookistador,  for those inputs on this thread.

Has your issue been resolved? If the response provided by the community member @Praful_Potphode@Cookistador, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.

Thank you for using the Microsoft Community Forum.

Praful_Potphode
Solution Sage
Solution Sage

Hi @nmckeown1 ,

 

Please try approach suggested by @Cookistador .

it could be relationship issue or the interaction between visuals are off.

 

Please check and let me know.

 

Thanks and Regards,

Praful

nmckeown1
Helper II
Helper II

Solved:

I used my already existing aggregated table, instead of the summary table in the calculation - and this worked with the year filters.

 

 

Daily_average_whatsapp =
CALCULATE(
AVERAGEX( VALUES('int dim_dates'[short_date]), [Target WhatsApp]),
ALL('int dim_dates'[short_date])
)
Cookistador
Super User
Super User

I suspect the issue lies with the relationship between Calendar_year and your calculated table.

When a visual returns the same value repeatedly, it often indicates a missing or inactive relationship between the fields being used.

Could you confirm if there is a relationship between your two tables? Establishing the correct relationship should allow you to see the intended values.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.