Perform the following steps to use equality JEXL operator in formula to create derived column in Sigma Studio:
Click Data Builder and collate data based on your requirement.
NOTE: If you are changing an existing data aggregator that is already being used in reports, ensure that you re-configure the data aggregator in the respective reports to get the updated data columns.Click child datasource in which you need to create a derived column.
Columns of the selected datasource appear on the right-hand side of the page.Click Derived Columns tab.
Provide name for the new column in Derived Column ID field.
Enter the formula for the column in Formula field. Here we check the equality of two columns.
NOTE:Equality – The abbreviation eq or = = operator can be used in derived column field in Data Builder. It is similar to the Java equals method, which results in True or False.
If you compare null to any non-null value, the result is false.
If both the values are equal, the result is true.
For example: AMOUNT = = AVL_BAL and AMOUNT eq AVL_BAL are equivalent.
Click Save
Once the derived column is saved, it gets displayed on the right side.You can also delete the derived column by clicking the close icon.
Click Save to save the data aggregator.
In the following sample report, Status is the derived column that shows the result of the equality JEXL formula expression.
Add Comment