cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 Number Net Promotor Score 1 Blank 2 10 3 10 4 8 5 Blank 6 9 7 9 8 10 9 Blank 10 Blank Average 9.3333
2 ACCEPTED SOLUTIONS
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])
)

Proud to be a Super User!

Community Support

Hi @kimdiep503

You can use the average() function directly.

e.g You can create a calculated column.

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

Output

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.

2 REPLIES 2
Community Support

Hi @kimdiep503

You can use the average() function directly.

e.g You can create a calculated column.

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

Output

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.

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])
)

Proud to be a Super User!

Announcements

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Monthly Update - June 2024

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

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors