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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
User_Error
Regular Visitor

My data and I are speaking different languages. Please Help!

In my power BI data set, the data is similar to below.  I would like to be able to calculate the cells below in green without the visuals summing the values.   When I try to see total number of clients I can calculate the distinct count just fine, it’s when I try to calculate the number needed column, it will sum all the data and I can not see the actual value for the client.  I know it's my lack of knowledge but thank you in advance for all of your help.

 

User_Error_0-1677171371547.png

 

3 REPLIES 3
Anonymous
Not applicable

IF you are trying to show the "number needed" in a card, do the following: 

1. Drag the "number needed" into the card

2. In the card visualisation, under Fields, click the dropdown, then deselect "Sum" and instead select "Average"

 

When you are viewing all the results for all clients, it will show you the average number need. When you select a client, this will simply divide the "Number needed" by the number of selected clients (which is 1), and give you the specific number associated next to their name. If your client ID repeats throughout different rows, you will get the average number needed for that client. 

 

SUm.png

I appologize for the poor explination of my issue.  I greatly appreciate all of the help with this and am very greatful for such a wonderfully helpful community.

 

What I ended up doing was taking the actual table and creating a duplicate table. in the new duplicate tabel I removed all duplicates in the client column and linked the two tables (the origional and duplicate).

 

I basically needed the unique count of Reqs# or clients (in my poor example) with the Hires Needed or Number Needed.

 

Then I wanted to see the total over all without counting the duplicates

 

 

this was a quick fix but will be a pain constantly updating.  

 

Once again I apologize for the poor explination and thank you all so much for the assistacnce.

 

User_Error_0-1677250749608.png

 

Greg_Deckler
Community Champion
Community Champion

@User_Error Not sure I completely understand, but try this:

Measure = 
  VAR __Table = FILTER('Table',[Status]="Open")
  VAR __Result = SUMX(__Table, [Number needed])
RETURN
  __Result


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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.