Matrix expressions referencing other data fields than cell value

I have tried highlighting the cell in a Matrix based on other values in the same data source row. It has failed.

I have used expressions like:

((decimal?)Value) > ((decimal?)[Accuracy.Data Values.Limits.High Limit.Value])

If I replace [Accuracy.Data Values.Limits.High Limit.Value] with a fix number, like 5, it works. Is it possible to reference other fields than the actual cell value in an expression like this?

Comments

  • It looks like the actual problem is that we use a decimal? type for the Value which cannot be converted correctly.

    It is seen as having the type Nullable'1 in FastReport.

    So referencing the field was not the problem.

  • Type conversion was not the problem after all.

    I know now that the problem is related to the accessing fields in the Matrix data source is not fetching from current datasource row when used in the Highlight expression. I tested to use different fields and made it work for some, but other fields only gave me the value for the first data source row. Feels like a bug,,,

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.