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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

ALL Function Not Working

I have this table with this data:

1.PNG

On a different dashboard I've done the exact same thing and for the LQ NPS column it returns the overall score rather than the score of each individual person. So for this it should say 14.52 for everyone. I'm not sure where to pinpoint why this would be behaving differently?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @v-huizhn-msft I made a small change to the formula to get it to work. Here is it what it now looks like:

1.PNG

 

So inside my ALL, I'm referencing the table where everybody's names are consolidated. In my original 'NPS Consolidated' table, people can appear as a Flex or Cobra manager, but they tend to be the same person. I made an additional table called 'NPS Consolidated (2)' specifically for hosting the names of these managers so we can see all records together whether they are Flex or Cobra managers:

 

1.PNG 

So the [LQ NPS] formula comes from my 'NPS Consolidated' table, but I was attempting to use the [Value] column from 'NPS Consolidated (2)' to display my results, thinking it would automatically pick up the ALL function since the 2 tables are related. Once I referenced the table where the names are actually consolidated together rather than where the formula is hosted, it worked fine:
1.PNG

View solution in original post

6 REPLIES 6
Greg_Deckler
Super User
Super User

What is the formula for your measure used in your CALCULATE?

Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Anonymous,

Do you mind share your .pbix file for troubleshooting the cause of not working? It's hard to reproduce your scenario without data.

Best Regards,
Angelia

Anonymous
Not applicable

Hi @v-huizhn-msft I've since then figured out the issue to my problem. Thanks for reaching out!

Hi @Anonymous.

Congratulations, you resolve your issue by yourself, welcome to share your workaround,or you'b better mark your reply as answer.  So more people benefit from here. 

Best Regards,
Angelia

Anonymous
Not applicable

Hi @v-huizhn-msft I made a small change to the formula to get it to work. Here is it what it now looks like:

1.PNG

 

So inside my ALL, I'm referencing the table where everybody's names are consolidated. In my original 'NPS Consolidated' table, people can appear as a Flex or Cobra manager, but they tend to be the same person. I made an additional table called 'NPS Consolidated (2)' specifically for hosting the names of these managers so we can see all records together whether they are Flex or Cobra managers:

 

1.PNG 

So the [LQ NPS] formula comes from my 'NPS Consolidated' table, but I was attempting to use the [Value] column from 'NPS Consolidated (2)' to display my results, thinking it would automatically pick up the ALL function since the 2 tables are related. Once I referenced the table where the names are actually consolidated together rather than where the formula is hosted, it worked fine:
1.PNG

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.