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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Kudoed Authors