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
AngusMOUH
New Member

Category displaying total value for all members of the group rather than individual values ...?

Hello,

 

Both new to the community and the Power BI tool!  Have created a couple of basic reports and was recently asked to add a further category (just about the time of the Sept update) and I've gone from diagram one to diagram two!  Am stumpted as to what needs to be updated to correct this ...

 

AngusMOUH_0-1632479444915.png 

AngusMOUH_1-1632479622168.png

 

 ... I've checked all the relationships, restarted the entire report, double checked the originating data.  Any assistance would be most appreciated. 

 

AngusM - Oxford University Hospitals UK

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @AngusMOUH ,

 

Is Remaining (Hrs) a measure, a column or a calculated column? If it is a measure or calculated column, it may be because your function is used incorrectly.

 

Example:

Measure = CALCULATE(SUM('Table'[Value]),ALLSELECTED('Table'))

12.png

 

You should use ALLEXCEPT instead.

Measure = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[ID]))

13.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @AngusMOUH ,

 

Is Remaining (Hrs) a measure, a column or a calculated column? If it is a measure or calculated column, it may be because your function is used incorrectly.

 

Example:

Measure = CALCULATE(SUM('Table'[Value]),ALLSELECTED('Table'))

12.png

 

You should use ALLEXCEPT instead.

Measure = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[ID]))

13.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PaulDBrown
Community Champion
Community Champion

Can you show a depiction of the model (relevant tables) and post the code for the measures please?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

@AngusMOUH , As per the second screenshot. The table having remaining hrs, do not have a relationship with current unit or the relationship is inactive

@amitchandak thank you for that, much appreciated.  All relationships are based on the staff ID numbers that are unique identifiers and are contained in all the table extracts ... 

 

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.