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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
feehdRXE
New Member

Sum the “Salary" column if "Date" column is blank.

What I'm looking is, to calculate the sum of "Salary", which has no dates in "Date de Desligamento".

 

 

 

  Captura de Tela 2022-08-13 às 21.45.44.png

 

Many thanks!

 

 

 

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @feehdRXE 

Thanks for reaching out to us.

You can try this measure,

Measure = SUMX(FILTER('Table',ISBLANK('Table'[Date de Desligamento])),[Salary])

vxiaotang_0-1660706585217.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, 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-xiaotang
Community Support
Community Support

Hi @feehdRXE 

Thanks for reaching out to us.

You can try this measure,

Measure = SUMX(FILTER('Table',ISBLANK('Table'[Date de Desligamento])),[Salary])

vxiaotang_0-1660706585217.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

daXtreme
Solution Sage
Solution Sage

[Total Salary] =
    SUMX(
        filter(
            T,
            NOT ISBLANK( T[Date de Desligamento] )
        ),
        T[Salary]
    )

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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