Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
kimdiep503
Frequent Visitor

How to create average

Hi everyone, I'm trying to find the average NPS score based on the data below, excluding any blanks. Can someone help with creating a formula or solution on how I can get the result in PowerBI? Thanks in advance.

 

Ticket NumberNet Promotor Score
1Blank
210
310
48
5Blank
69
79
810
9Blank
10Blank
Average9.3333
2 ACCEPTED SOLUTIONS
amustafa
Super User
Super User

Assuming in your input table you have literal values 'Blank' then here's how you can exclude them and create a new measure Avg. NPS. (adjust your table and Column name.

 

Avg. NPS = AVERAGEX(
    FILTER(Table1,
        ISNUMBER(VALUE(Table1[Net Promotor Score])) && Table1[Net Promotor Score] <> "Blank"
    ),
    VALUE(Table1[Net Promotor Score])
)
 
If I answered your question, please mark this thread as accepted.
Follow me on LinkedIn:
https://www.linkedin.com/in/mustafa-ali-70133451/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

Hi @kimdiep503 

You can use the average() function directly.

e.g You can create a calculated column.

Column = AVERAGE('Table'[Net Promotor Score])

Output

vxinruzhumsft_0-1704851892692.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @kimdiep503 

You can use the average() function directly.

e.g You can create a calculated column.

Column = AVERAGE('Table'[Net Promotor Score])

Output

vxinruzhumsft_0-1704851892692.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amustafa
Super User
Super User

Assuming in your input table you have literal values 'Blank' then here's how you can exclude them and create a new measure Avg. NPS. (adjust your table and Column name.

 

Avg. NPS = AVERAGEX(
    FILTER(Table1,
        ISNUMBER(VALUE(Table1[Net Promotor Score])) && Table1[Net Promotor Score] <> "Blank"
    ),
    VALUE(Table1[Net Promotor Score])
)
 
If I answered your question, please mark this thread as accepted.
Follow me on LinkedIn:
https://www.linkedin.com/in/mustafa-ali-70133451/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.