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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.