Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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?
FormName | FieldCaption | FieldValue |
Property Valuation Data | Value ($) | -205973 |
Property Valuation Data | Value ($) | -32257 |
Property Valuation Data | Value ($) | -36994 |
Property Valuation Data | Value ($) | 11739 |
Property Valuation Data | Value ($) | 11880 |
Property Valuation Data | Value ($) | 14808 |
Thank you for your assistance!
Patrick
Solved! Go to Solution.
Hi @pnelsonmi
You can do something like this:
Measure = CALCULATE(SUM(MyTable[FieldValue]),MyTable[FieldValue]<0)
Hi @pnelsonmi
You can do something like this:
Measure = CALCULATE(SUM(MyTable[FieldValue]),MyTable[FieldValue]<0)
Thank you for your assistance!
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
8 |