Hello,
I’m encountering difficulties when using .Net commands on a dataset to create a calculated item, more specifically the error log is:
"
Transform Name: 1st Level
Transform Type: Calculated Element
Connector Element: Derived Column Output
Element Name: Computed
Dundas.BI.Scripting.ScriptException: Runtime error Object reference not set to an instance of an object. Line: 15 Column: 10 —> System.NullReferenceException: Object reference not set to an instance of an object.
"
the computation is fairly basic:
"
String name = $field_name$;
if ( name.Contains(“string”)) {return “new string”}
else {return name}
"
I’ve tried inserting a null replacement transform but I get an " ExecuteReader: CommandText property has not been initialized" error (I don’t have admin privileges
Thank you