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! Get ahead of the game and start preparing now! Learn more
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! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |