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
Anonymous
Not applicable

Total Combining

Hi everyone,

 

I need to combine two number that needs to be assign one of them. In below picture, I need to bring the total sum to the etkin ticaret which amount would be 100,369.95. Can you help me ?

 

sample.PNG

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

@Anonymous 

 

You may try the following measure.

Measure =
VAR d =
    SELECTEDVALUE ( Table1[DistName] )
RETURN
    IF (
        d = "etkin ticaret",
        CALCULATE ( SUM ( Table1[Value] ), ALLSELECTED ( Table1[DistName] ) ),
        SUM ( Table1[Value] )
    )
Community Support Team _ Sam Zha
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-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may try the following measure.

Measure =
VAR d =
    SELECTEDVALUE ( Table1[DistName] )
RETURN
    IF (
        d = "etkin ticaret",
        CALCULATE ( SUM ( Table1[Value] ), ALLSELECTED ( Table1[DistName] ) ),
        SUM ( Table1[Value] )
    )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Dear@v-chuncz-msft ,

 

When  I try to make what you did, dashboard has been as follow;

 

I just want to combine only ekmel gıda (amount is 36,088) , etkin ticaret (64,280) and etkin ticaret amount would be around 100,000. But in following picture, etkin ticaret data has been sum up all dist name, it should have been only sum up ekmel and etkin.

 

Capture.PNG

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.