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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kivanct
Helper I
Helper I

Subtracting Unique Values issue

Hi,

Could you please help me about this problem ? Sorry for the language of table which is not English.

I created formula --> SUM(ZD83(Ü.P) - SUM(ZD83(Dış Müşteri Stok)

for Malzeme = 10131476 is taking total of Ü.P that is OK -->1217 + 1217 + 29 --> no isssue
the problem = 10131476 is taking total of Dış Müşteri Stok that is NOT OK --> 1271 + 1271 + 1271.  
I wanna get only one 1271.

kivanct_0-1673528601737.png
How can i create formula ?

Regards... 

 

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

Hi @kivanct ,

 

Do you want the result to be 1217+1217+29-1271?

If this is the case, try the following formula.

Here is my sample:

vjianbolimsft_2-1673590471687.png

 

Please try:

Measure = SUM('Table'[Value1]) - SUMX(SUMMARIZE('Table','Table'[Value2]),[Value2])

Output:

vjianbolimsft_1-1673590455388.png

 

Best Regards,

Jianbo Li

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

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @kivanct ,

 

Do you want the result to be 1217+1217+29-1271?

If this is the case, try the following formula.

Here is my sample:

vjianbolimsft_2-1673590471687.png

 

Please try:

Measure = SUM('Table'[Value1]) - SUMX(SUMMARIZE('Table','Table'[Value2]),[Value2])

Output:

vjianbolimsft_1-1673590455388.png

 

Best Regards,

Jianbo Li

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

Thanks a lot for your help !

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors