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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
pnelsonmi
New Member

Sum only the negative numbers in a column

Hello,

Thank you for taking time to review my question. I am certain I am missing something simple, but can't identify it. 

We have data that is collected via forms. The form data is stored in the Forms Data Table. There are multiple forms within this table and each form has multiple fields.

 

Question: How do I sum only the negative numbers within the FieldValue column?

FormNameFieldCaptionFieldValue
Property Valuation DataValue ($)-205973
Property Valuation DataValue ($)-32257
Property Valuation DataValue ($)-36994
Property Valuation DataValue ($)11739
Property Valuation DataValue ($)11880
Property Valuation DataValue ($)14808

 

Thank you for your assistance!

Patrick

1 ACCEPTED SOLUTION
mlsx4
Memorable Member
Memorable Member

Hi  @pnelsonmi 

 

You can do something like this:

Measure = CALCULATE(SUM(MyTable[FieldValue]),MyTable[FieldValue]<0)

 

View solution in original post

4 REPLIES 4
mlsx4
Memorable Member
Memorable Member

Hi  @pnelsonmi 

 

You can do something like this:

Measure = CALCULATE(SUM(MyTable[FieldValue]),MyTable[FieldValue]<0)

 

Thank you for your assistance!

tamerj1
Super User
Super User

Hi @pnelsonmi 

Which column identifies the rows? Is this a sample of source data or a table visual?

Hello,

Thank you for your reply.  If I am following you, the FieldValue column contains the row data.  This is sample source data. I was not able to upload an attachment of the Excel file.  Please advise if there is a way to provide a better sample.

 

Patrick

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.