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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Unique values

Hello

Hope you can help me. The first two columns below are my data. Each client manager as a minimum capacity of clients. I need to aggregate the total by client manager but the way I have the data the value repeats in several rows. This is because the data comes from the system.  so when I try to sum the totals power BI sums the total but what I need is a unique value by client manager and then do the total. Any advice in how I can do that?

 

 

Client Manager

Min capacity of Clients

Power BI total

What I need is the unique value by client manager

Anna

30

 

 

Anna

30

 

 

Anna

30

90

30

Paul

50

 

 

Paul

50

 

 

Paul

50

 

 

Paul

50

 

 

Paul

50

250

50

Siliva

45

 

 

Siliva

45

90

45

 

 

430

125

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey @Anonymous ,

 

first I recommend to remove duplicate rows using Power Query.

If this is not possible, then the below measure creates what you are looking for:

 

Measure = 
SUMX(
    VALUES( 'Table'[Client Manager] )
    , CALCULATE( AVERAGE('Table'[Min capacity of Clients] ) )
)

 

And a table visual:

image.png

 

 

 

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

Hey @Anonymous ,

 

select the measure in the fields list and adjust the formatting:
image.png
Hopefully, this provides what you are looking for.

 

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@TomMartens  can I please ask you an easy one. How do I take out the decimals. I need only the value. I do appreciate your help!!! 😁

Hey @Anonymous ,

 

select the measure in the fields list and adjust the formatting:
image.png
Hopefully, this provides what you are looking for.

 

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

I very much appreciate your help @TomMartens  😀

Anonymous
Not applicable

Many thanks Tom!! It worked 😁

TomMartens
Super User
Super User

Hey @Anonymous ,

 

first I recommend to remove duplicate rows using Power Query.

If this is not possible, then the below measure creates what you are looking for:

 

Measure = 
SUMX(
    VALUES( 'Table'[Client Manager] )
    , CALCULATE( AVERAGE('Table'[Min capacity of Clients] ) )
)

 

And a table visual:

image.png

 

 

 

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.