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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
PaulMac
Helper IV
Helper IV

DAX Issue - Value The Same For All Financial Week Numbers

Hello All

I have tried to make a list of scores per week but I appear to have gone awry somewhere as all I seem to get as a result is the same value accross all financial weeks. See photo below.

DAXDUD.PNG

This goes on all the way to week 52.

Now I only have data for financial week 45 & 46 so was only expecting to see 2 rows with a score for week 45 (which should have been 66.73) and a score for week 46 (which should have been 48.78).

Here is the DAX that is giving me this value:

=([Percentage of Promoters]-[Percentage of Detractors])*100

The data model has a relationship between the 'date' table and my 'scores' table linking 2 'date' columns together.

Any help regarding this would be greatly appreciated.

Paul Mac

1 ACCEPTED SOLUTION
Anonymous
Not applicable

What is the definition of [Percentage of Promoters] / [Percentage of Detractors]? Is the DAX in those measures using ALL() on the scores table or something like that? That could lead to this result even if you have the relationship set up correctlty.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

What is the definition of [Percentage of Promoters] / [Percentage of Detractors]? Is the DAX in those measures using ALL() on the scores table or something like that? That could lead to this result even if you have the relationship set up correctlty.

Hi @Anonymous 

You were correct. I had a 3 DAX measures all using the ALL() function. After removing these the calcualtions work as intended, so thank you very much for pointing that out to me! 👍

Kind regards

PaulMac

 

Greg_Deckler
Super User
Super User

Generally this indicates that you are missing a relationship between tables. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

Thanks for the swift reply.

See below that my 'date' table's date column is pointing to the date column of my 'scoring table' (Service Tick).

datamodel.PNG

If this is incorrect, then please advise a correct method.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.