We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hi I have a question which makes me crazy 😄 hope you can help me
This is my table:
employeeID | Points | Days |
9 | 16 | 365 |
9 | 4 | 30 |
9 | 3 | 90 |
9 | 2 | 30 |
Now I am trying get the sum of points for each employee for a specific Day value. That means it should output 6 when I want to get the sum of points for the day value "30" (2+4)
I created following measure but that did not work properly.
Solved! Go to Solution.
Hi @Anonymous ,
You need a measure as below:
Measure = CALCULATE(SUM('Table'[Points]),ALLEXCEPT('Table','Table'[Days]))
And you will see :
For the related .pbix file,pls click here.
Best Regards,
Kelly
@Anonymous ,
Or try using below measure:
Hi @Anonymous
Your measure works fine when i tested.
If your "Days" column is not in number format you need to add " around 30, i also noticed you seem to have one ) to many at the end.
This is what I used:
@Anonymous ,
Use the below Measure:
Hi, this sums up all the values of 30, but does not differenciate between the employeeIDs. SO it outputs for every employee the same result.
Hi @Anonymous ,
You need a measure as below:
Measure = CALCULATE(SUM('Table'[Points]),ALLEXCEPT('Table','Table'[Days]))
And you will see :
For the related .pbix file,pls click here.
Best Regards,
Kelly
User | Count |
---|---|
63 | |
59 | |
46 | |
35 | |
32 |
User | Count |
---|---|
85 | |
71 | |
57 | |
51 | |
46 |