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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Compiling Formula Results?

I've gotten a strange request I'm not sure is possible. So I have data that looks like this:

1.PNG

 

So the overall average for this group of people is of course -17.39. I've been asked that instead of seeing each person's NPS individually, how I can have the -17.39 appear for everyone? We'd rather just see what the overall number is for the group. I'm not sure how to do this since PBI by default will take the formula and apply it separately to everyone's name once added to any visual...

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Maybe something like:

 

NPS =
CALCULATE(
   [TTM Average],
   ALL(TableName),
   DATEADD('Date'[Date],-1,QUARTER)
)

This will reset your filter in your table to use all of your data instead of dividing up by the rows. This might depend on how you're calculating TTM Average though.

 

Hope this helps,

Parker

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Try adding ALL(TableName) to your calculate function

Anonymous
Not applicable

@Anonymous where at exactly in the formula? Not familiar with how to use that.

Anonymous
Not applicable

Maybe something like:

 

NPS =
CALCULATE(
   [TTM Average],
   ALL(TableName),
   DATEADD('Date'[Date],-1,QUARTER)
)

This will reset your filter in your table to use all of your data instead of dividing up by the rows. This might depend on how you're calculating TTM Average though.

 

Hope this helps,

Parker

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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