Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I want to sum amounts based on a value that appears in a separate column. The formula I have tried is:
"Revenue = CALCULATE(SUM('Initiative Funding'[Amount]),ALLEXCEPT('Initiative Funding','Initiative Funding'[Funding Status]="Expected Revenue"))".
I am getting this error message:
"A single value for column 'Funding Status' in table 'Initiative Funding' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
I don't understand this error, as I am specifying the value required in the Funding Status column.
Steve
Hi @kennoe,
Please try this:
Revenue =
CALCULATE (
SUM ( 'IF_Example41'[Amount] ),
FILTER (
ALLEXCEPT ( 'IF_Example41', 'IF_Example41'[Funding Status] ),
SELECTEDVALUE ( IF_Example41[Funding Status] ) = "Expected Revenue"
)
)
Best regards,
Yuliana Gu
Thank you. The amended formula removes the error message, however it does not show any values in the table. Things I noticed when trying to get a solution:
Steve
Proud to be a PBI Community Champion
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!