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!
Wherever I try incorporating a calculation with excluding blanks, I get Syntax error. Quite frustrating!
For instance- I am trying to calculate average of a clumn which has number of questions asked during a call. The column has blank cells as well. The formula I tried for the new measure is:
Solved! Go to Solution.
Hello @roger360,
Can you please try this approach:
AverageNumberOfQuestions =
CALCULATE(
AVERAGE(TrackerData[Number of questions]),
FILTER(
TrackerData,
NOT(ISBLANK(TrackerData[Number of questions]))
)
)
Hi,
Blanks do not impact an average calculation. This simple measure should work
AverageNumberOfQuestions = AVERAGE(TrackerData[Number of questions])
Hope this helps.
Hi,
Blanks do not impact an average calculation. This simple measure should work
AverageNumberOfQuestions = AVERAGE(TrackerData[Number of questions])
Hope this helps.
Ah you're right! did overthinking. Thanks
You are welcome.
Hello @roger360,
Can you please try this approach:
AverageNumberOfQuestions =
CALCULATE(
AVERAGE(TrackerData[Number of questions]),
FILTER(
TrackerData,
NOT(ISBLANK(TrackerData[Number of questions]))
)
)
Thats perfect @Sahir_Maharaj ...thanks.
Do you mind giving me a quick reason why my previous one showing that error?
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 | |
| 47 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 140 | |
| 111 | |
| 63 | |
| 38 | |
| 32 |