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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DDenise
New Member

Single Value Error

Trying to calculate previous years sales to date but my formula is returning the below message:

 

A single value for column 'TtlValue' in table 'Rebates with Splits' 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.

 

Here is my formula: PYR = CALCULATE('Rebates with Splits'[TtlValue],SAMEPERIODLASTYEAR('Calendar'[Date]))

 

Current year formula works as shown below:

CYR = CALCULATE(SUM('Rebates with Splits'[TtlValue]),'Calendar'[Year]=Year(TODAY()))

1 REPLY 1
Ahmedx
Super User
Super User

you forgot to add the SUM function here

Screenshot_2.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.