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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Bryanna
Helper II
Helper II

Roundup not summing correctly

Hi,

 

I am using the following measure to round up, however it is not summing correctly its just rounding the total. I found where someone wrote to use the following measure below, however this is on a column not a measure and my below measure will not populate where they have 'Crate EQ'. Any ideas?

 

ROUNDUP('Shipped Cases'[P/TL],0)
 
Round_new =
VAR _new =
    SUMMARIZE ( 'Table', 'Table'[Crate EQ], "_value", [_your roundup] )
RETURN
    IF (
        HASONEVALUE ( 'Table'[Crate EQ] ),
        [_your roundup],
        SUMX ( _new, [_value] )
    )
3 REPLIES 3
tamerj1
Super User
Super User

@Bryanna 

Please try

Round_new =
SUMX ( VALUES ( 'Table'[Crate EQ] ), [_your roundup] )

Looks like that was still missing counting some of the data. The below seemed to work however.

Measure 4 = SUMX('Table',[_your roundup])

@Bryanna 

That depends on which granularity the visual represents. That was not clarified in the question therefore it was interpreted through your original dax code. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.