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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

SUM Measure using ISBLANK (In Column Total)

Ive gone through probably two dozen possible ways to do this and none of them work.

AnthonyH28__0-1666107496407.png

I have 2 measures doing calculations to get numbers for 2019 and 2020. What I want is for that column New to summarize at the bottom of the table.

The Measure for New is:

 

IF(ISBLANK([L3S 2019]),[L3S 2020])

 

 

Ive tried using HASONEFILTER (doesnt work for this) and HASONEVALUE. HASONEVALUE is close but its inversed of what I need. It sums based off the FALSE flag for me and I need to SUM off of the TRUE Flag.

What else are we missing? The logic is that we want to sum all of the numbers in 2020 but only if they had no data in 2019. 

1 REPLY 1
johnt75
Super User
Super User

The measure will depend on which columns you are using in the rows of your matrix. e.g. if the matrix is summarized by Column1, you could use

New =
VAR SummaryTable =
    ADDCOLUMNS (
        SUMMARIZE ( 'Table', 'Table'[Column 1] ),
        "@val", IF ( ISBLANK ( [L3S 2019] ), [L3S 2020] )
    )
RETURN
    SUMX ( SummaryTable, [@val] )

you can add as many columns into the SUMMARIZE as you have on the rows of your matrix.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.