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
mdelasheras
Helper I
Helper I

SUM TOTAL MEASURE VALUES

Hi all,

 

I want to display the sum of a measure but Power BI applies the measure in the total ROW. How can i change it??

There is an example table where TOTAL SUM should be 61 instead of 45.

 SUMTOTAL.png

Current measure is : 

% RV = IF([%Global] >= 1,2;1,2*SUM('Merge2'[Peso]);(IF([%Global] >= 1;SUM('Merge2'[Peso]);(IF([%Global] > 0,9;0,5*SUM('Merge2'[Peso]);BLANK())))))

Any tip?

Thanks in advance

5 REPLIES 5
BKirsch12
Resolver II
Resolver II

You can display this information in a card.

I would like to show the sum in this table, there is no way to make it work as intended? 

Hi @mdelasheras,

 

Can you share a sample? The "Total" has different contexts. The solution could be as follows.

Measure =
SUMX (
    SUMMARIZE (
        'table';
        'table'[column];
        "value"; IF (
            [%Global] >= 1,2;
            1,2 * SUM ( 'Merge2'[Peso] );
            (
                IF (
                    [%Global] >= 1;
                    SUM ( 'Merge2'[Peso] );
                    (
                        IF ( [%Global] > 0,9; 0,5 * SUM ( 'Merge2'[Peso] ); BLANK () )
                    )
                )
            )
        )
    );
    [value]
)

Best Regards,

Dale

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

Hi @v-jiascu-msft,

 

I tried your measure but im not getting the value im looking for, what i need is to sum the last column ( 5 + 5 + 18 + 10 + 18 +5). With this measure I'm getting a value i don't understand:

 

 

sumx.png

Do you need an extended sample?

Hi @mdelasheras,

 

It would be better to have a full sample.

 

Best Regards,

Dale

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

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.