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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

PreviousQuarter Function Not Working

 1.PNG

 

What this is supposed to be doing is averaging the highlighted values (Quarter 1 values) and taking the average of them. However, 87.10 isn't correct. By hand if I do:

(86.67+87.10+83.87)

_____________________

                 3

 

I should be getting 85.88. Why is not coming out to that??? It just picked February's number and returned it....

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi

Use  Avg = SUMX( VALUES( Table1[EMS AM]), Table1[Retention] ) / 3  // ( Or calculate the count as needed).

 

Hope this helps.

 

Thanks
Raj

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

This could be because of 'Retention' variable. If you have already used some formula to derive 'Retention', try splitting the steps , like find the sum and count in 2 steps and find the avg in 3rd step.

 

Thanks
Raj

Anonymous
Not applicable

Hi

Use  Avg = SUMX( VALUES( Table1[EMS AM]), Table1[Retention] ) / 3  // ( Or calculate the count as needed).

 

Hope this helps.

 

Thanks
Raj

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors