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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 132 | |
| 102 | |
| 59 | |
| 39 | |
| 31 |