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
Anonymous
Not applicable

Calculated fields show #Error when placed on Report Builder report.

I hope this is the right forum. This is the forum that comes up when I click the "Forum" button in Report Builder.

 

I am finding that the most basic calculated fields show #Error when placed on a report.

 

 

A calculated field as simple as:

 

MyCalcField = "Hello"

 

shows #Error when placed on a report.

 

My questions are:

  1. What am I doing wrong?
  2. I assume that calculated fields can be placed on reports. Is this correct? Are there limitations or pre-requisites for placing calculated fields on reports?
  3. Is it possible to substitute Crystal Reports for Report Builder in SSRS?
1 REPLY 1
d_gosbell
Super User
Super User

It's hard to say what you are doing wrong, there is not enough detail here. How are you placing the field onto your report - is it in a single text box or in a table?

 

If it's in a table it should work since calculated fields are calculated once per row. If you have just dragged on a text box it depends how you are aggregating the calculated field. In the example calculation you've given you are returning a string so you would need to use something like a First() or Last() aggregate, not one of the mathematical ones like Sum()

 

If I add a field like the one you've shown

d_gosbell_0-1697427182525.png

It works fine if I use it in a table output

d_gosbell_1-1697427208514.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.