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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nanat
Frequent Visitor

How to get Average for Calculated Column that has values but also NIL value

Hi all,

 

I am trying to get the average of days customers place orders. 

 

Capture.JPG

 

Both my columns "Product Order Per Customer" and "Frequency" are calculated column. As you can see, some rows have values whereas the others don't. I am trying to get an overall average of no of days customers place order but no matter what I do, the value that came back is NaN. Please help!

1 REPLY 1
Anonymous
Not applicable

Hi @nanat,

 

Can you please provide a sample pbix file to test? It will be help for coding formula.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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