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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
Super User
Super User

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

Thanks and Regards,
Praful Potphode
LinkedIn-https://www.linkedin.com/in/praful-p-912349241/
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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.