Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a data set that has a number of zeros and/or nulls as responses to questions. When charting out the averages, I'm trying to eliminate the zeros from that average. Despite having put the filter set to "greater than 0" they are still counted towards the average.
I've provided an image to show the April average is clearly not being calculated correctly due to it still counting zeros.
Thanks!
Solved! Go to Solution.
Hi @datadelta
Try to use this Dax formula for your measure
Avg percentage= CALCULATE( AVERAGE(TableName[your column]), FILTER(TableName, TableName[your column] <> 0 ))
Link to sample file
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @datadelta
Try to use this Dax formula for your measure
Avg percentage= CALCULATE( AVERAGE(TableName[your column]), FILTER(TableName, TableName[your column] <> 0 ))
Link to sample file
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |