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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello!
I have the table below, and I want to calculate the average excluding blanks, in this case 4250. Something like
CALCULATE (average (units), units IS NOT BLANK)
| Car | Units |
| Mondeo | 8500 |
| Fiesta | 0 |
| Corsa |
Thanks!
Solved! Go to Solution.
Hey @Anonymous ,
the following measure should to it:
Avg Units =
CALCULATE(
AVERAGE( myTable[Units] ),
myTable[Units] <> BLANK()
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up.
Best regards
Denis
Blog: WhatTheFact.bi
Hey @Anonymous ,
the following measure should to it:
Avg Units =
CALCULATE(
AVERAGE( myTable[Units] ),
myTable[Units] <> BLANK()
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up.
Best regards
Denis
Blog: WhatTheFact.bi
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 36 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |