{"title":"Expressions","url":"https://docs.vismasoftware.no/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/","link":"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/","description":"Use expressions to update account selections across all reports from one place.","content":"\u003cp\u003e\u003cem\u003eExpressions\u003c/em\u003e can be created and managed through the \u003cstrong\u003eReport Designer\u003c/strong\u003e menu under \u003cstrong\u003eExpressions\u003c/strong\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/image001.png\"\u003e\u003c/p\u003e\n\u003cp\u003eUsing Expressions is a way of referring to dimension values outside single reports and is typically used to refer to a selection that will be used in multiple reports. By using an expression instead of an ordinary selection within the report, you can easily update multiple reports by editing the expression instead of having to edit each report individually.\u003c/p\u003e\n\u003cp\u003eFor example, if you add an account to your general ledger and you need to include this new account in your reports, it is very time-consuming having to open multiple reports and making sure the new account is included in the selection. If, however, you use an expression and you need to add an account, you simply edit the expression, and all the reports where this expression is used will automatically be updated.\u003c/p\u003e\n\u003cp\u003eIt is possible to create expressions on all dimensions and multiple dimensions can be combined in one expression. Expressions are organized in groups. An expression group can consist of one or multiple expressions.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/Expressions.png\"\u003e\u003c/p\u003e\n\u003cp\u003eFrom the \u003cstrong\u003eExpression Groups\u003c/strong\u003e dialog box, you have access to the following options to manage expressions:\u003c/p\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\n      \u003ctr\u003e\n          \u003cth\u003eButton\u003c/th\u003e\n          \u003cth\u003eFunction\u003c/th\u003e\n      \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n      \u003ctr\u003e\n          \u003ctd\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/image005.jpg\"\u003e\u003c/td\u003e\n          \u003ctd\u003eClick to create a new expression in the \u003cstrong\u003eExpression\u003c/strong\u003e dialog. Make sure to enter an expression name before starting to select fields for the expression. You can also enter a description for the expression.\u003c/td\u003e\n      \u003c/tr\u003e\n      \u003ctr\u003e\n          \u003ctd\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/image006.jpg\"\u003e\u003c/td\u003e\n          \u003ctd\u003eClick to open the \u003cstrong\u003eExpression\u003c/strong\u003e dialog and edit the currently selected expression group.\u003c/td\u003e\n      \u003c/tr\u003e\n      \u003ctr\u003e\n          \u003ctd\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/image007.jpg\"\u003e\u003c/td\u003e\n          \u003ctd\u003eClick to delete the selected expression group.\u003c/td\u003e\n      \u003c/tr\u003e\n      \u003ctr\u003e\n          \u003ctd\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/image009.jpg\"\u003e\u003c/td\u003e\n          \u003ctd\u003eClick to open a network browser window and import an expression group. Valid files are other OSR expressions with the *.xml format.\u003c/td\u003e\n      \u003c/tr\u003e\n      \u003ctr\u003e\n          \u003ctd\u003e\u003cimg src=\"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/img/en/image015.jpg\"\u003e\u003c/td\u003e\n          \u003ctd\u003eClick to open a network browser window and export an expression group to the location. The newly exported expression group will be in the *.xml format.\u003c/td\u003e\n      \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2 id=\"expressions-and-chart-of-accounts\" class=\"group\"\u003eExpressions and Chart of Accounts\u003ca class=\"prose-heading-self-link\" href=\"#expressions-and-chart-of-accounts\" aria-label=\"Heading self-link\"\u003e\u003c/a\u003e\n\u003c/h2\u003e\n\u003cp\u003eYou can also use the predefined Expressions from the chart of accounts you have set up in Chart of Accounts\u003c/p\u003e\n\n    \u003cdiv class=\"admonition admonition-tip\" role=\"note\"\u003e\n    \u003cdiv class=\"admonition-title\"\u003e\n        \n        Tip\n        \n    \u003c/div\u003e\n    \u003cdiv class=\"admonition-body\"\u003e\n        \u003cp\u003eThe expressions from \u003cem\u003eChart of Accounts\u003c/em\u003e can be edited in the \u003cem\u003eChart of Account\u003c/em\u003es module in the portal.\u003c/p\u003e\n    \u003c/div\u003e\n    \u003c/div\u003e\n\n","children":[{"title":"Use expressions in reports","description":"Replace manual filters with expressions to link reports to central definitions.","url":"https://docs.vismasoftware.no/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/use-expressions-in-reports/","link":"/onestopreporting/reporting/reports/report-designer/creating-reports/expressions-and-kpis/expressions/use-expressions-in-reports/"}]}