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
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
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.