Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I'm hoping that someone cleverer than me can help please, as this is something that I come up against time and time again, and I don't really understand why... I often get the error message "A single value for column 'Date' in table 'Calendar' cannot be determined" when trying to calculate ratios (percentages) as a Measure, rather than a Column, so that it can be aggregated, if that's the right word, I mean so that I can show the ratio by month, rather than just date
In this example, I've got:
In the Calendar table I'm trying to run the following measure, but keep getting the above eror:
Solved! Go to Solution.
It is an issue of context.
As a measure, the formula you have written does not know what to do with the 'Calendar'[Date]'. That is why it suggests SUM, MAX etc.
I have been able to solve this usually by using the SELECTEDVALUE() function. In your case it would look like;
FILTER(Won, Won[Date] = SELECTEDVALUE('Calendar'[Date]))
If you wrote your initial formula as a calculated column it would work as written as the row of the table would immediately provide the context for the 'Calendar'[Date] value.
Hope this helps a bit.
Proud to be a Super User! | |
It is an issue of context.
As a measure, the formula you have written does not know what to do with the 'Calendar'[Date]'. That is why it suggests SUM, MAX etc.
I have been able to solve this usually by using the SELECTEDVALUE() function. In your case it would look like;
FILTER(Won, Won[Date] = SELECTEDVALUE('Calendar'[Date]))
If you wrote your initial formula as a calculated column it would work as written as the row of the table would immediately provide the context for the 'Calendar'[Date] value.
Hope this helps a bit.
Proud to be a Super User! | |
That worked a treat, thanks for that
Everyday's a school day
Cheers
Jim
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |