Invert sign
In the case of financial reports such as the P&L statement, data for expense or deduction items are often shown as positive numbers. This is especially true when the income and expense values come from different tables. However, the report might need to be updated with the negative sign operator for two main purposes.
(a) for performing aggregations, say for naturally aggregating revenue & expense accounts to calculate profit, or
(b) to display +/- signs in the table to indicate which accounts are added vs. deducted.
This can be easily achieved using the 'Invert' option in Inforiver.
1. Cell level
You can invert cells or rows and display the negative signs at a cell level. You can also define whether the negative signs should influence the total or not.
Let’s invert the 'Beverages' row in the 'East' subregion.
a) Select the required row. In the ‘Insert’ tab of the toolbar, click the ‘Invert’ option.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FKG6Lnw7wmwyk7cDnfZTx%252FSelec%2520row.png%3Falt%3Dmedia%26token%3D3f3c821a-1ad8-4700-81c7-346dd0782b74&width=768&dpr=4&quality=100&sign=3f96094d&sv=1)
b) The row 'East -> Beverages' is inverted and you can see the change in the value of totals.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FlmDtPyNy1fzzjxrUnvaA%252FToast.png%3Falt%3Dmedia%26token%3D8cbafdb4-f317-486f-bfd0-5653074c3e7b&width=768&dpr=4&quality=100&sign=be713f8&sv=1)
c) If you do not want the sign inversion to impact the totals, turn off the 'Include in Total' toggle in the Display -> Numbers settings.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252Fd2A8IkWl12jfNZSK3Zhn%252FInflunce%2520in%2520total.png%3Falt%3Dmedia%26token%3D92d2ada9-8a87-4fc6-9452-3698bad837b6&width=768&dpr=4&quality=100&sign=4615faf0&sv=1)
d) Click ‘Invert’ again with the respective row selected to reset to the default value.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252Fvh7fhcr4uY1DFa1DNRzO%252FReset.png%3Falt%3Dmedia%26token%3Db77a8441-005c-4727-94cc-b4d1fe42d5b2&width=768&dpr=4&quality=100&sign=953c8324&sv=1)
e) A pop-up opens with a message as shown, select ‘Apply’ to reset.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FIgnVGi6iZZjlVioaS1p9%252FPop-up.png%3Falt%3Dmedia%26token%3D103893c1-3e00-4a0b-8ebd-5017dbf73f6e&width=768&dpr=4&quality=100&sign=eabb9a6f&sv=1)
f) You can now see the original values in the Beverages row and the totals.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FDCdCNddhLHGRthKBqQsB%252FValue%2520reset.png%3Falt%3Dmedia%26token%3Db49e847b-1f93-4e3d-924d-ff3fd46bd4d2&width=768&dpr=4&quality=100&sign=f47fac7b&sv=1)
g) Instead of inverting the sign of the child nodes individually, you can do it in bulk at the parent level. Let's invert the 'United States' parent row, select the row and apply 'Invert'.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FFer6zQshOBBg7p1U8IK2%252FParent1.png%3Falt%3Dmedia%26token%3D68aa291c-098e-4b59-a308-79b900cec0db&width=768&dpr=4&quality=100&sign=f3e035e3&sv=1)
h) You can see that parent and the corresponding child rows are inverted as shown.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FAOOeoAXVcbywCvjY2nG3%252FParent.png%3Falt%3Dmedia%26token%3Dba5a60af-096b-4259-886a-52b72daef0e3&width=768&dpr=4&quality=100&sign=e9eb0a8a&sv=1)
i) Note that the signage of calculated rows cannot be changed. In the below image, you can see the 'Invert' option is disabled for the calculated row 'Sum'.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FNaqi0IR7slWCnfVLVxkP%252FInserted%2520row.png%3Falt%3Dmedia%26token%3D59c90574-6048-4c0a-92b2-c685f1add1ba&width=768&dpr=4&quality=100&sign=422ac02&sv=1)
2. Row header level
Sign inversion can be shown at the row header level with the ‘Sign in headers’ option.
a) In the ‘Home’ tab of the toolbar, click ‘Display’ -> 'Numbers'.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FtZWZzVqRLpb2eFAV5cPi%252FHome.png%3Falt%3Dmedia%26token%3D78a8cb0c-29f8-4ef1-b31a-7833a39dbe3c&width=768&dpr=4&quality=100&sign=83596e36&sv=1)
b) Turn on ‘Sign in headers’ to display the signage in the row headers as shown.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FMgqfeeM1tOYy88fdqc6B%252FSign%2520in%2520headers.png%3Falt%3Dmedia%26token%3D12821405-b049-42ef-a5ee-42f81e76f666&width=768&dpr=4&quality=100&sign=109cbf29&sv=1)
c) You can also show positive signs and equals on other data source rows and total rows by enabling the 'Show positive sign' and 'Show equals on totals' options respectively.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FH78CbsrVpMzWgP2WLdRX%252Fpositiv.png%3Falt%3Dmedia%26token%3D3b70d893-25a0-4282-9006-7d64d26f1e09&width=768&dpr=4&quality=100&sign=a47adcfb&sv=1)
3. Measure level
a) Create a new signed measure
This feature is a single-click solution to creating signed measures. To invert a particular measure, select it and click on the 'Invert' button in the Insert ribbon.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FRmp29BBu5IWdI6yRbODa%252FInvertMEasure.webp%3Falt%3Dmedia%26token%3D8c767c4a-5911-4c0a-8e5c-f4d5e4a56d25&width=768&dpr=4&quality=100&sign=283ba8e3&sv=1)
Click on Create to insert the new calculated measure in the report.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FCAvLmAf7NjOP7hp4E6Hc%252FInvertMEasure2.webp%3Falt%3Dmedia%26token%3D9f6a90aa-37aa-4548-ad7e-4019293fa2f7&width=768&dpr=4&quality=100&sign=d87b5b2&sv=1)
b) Invert sign for individual measures
You can change the sign for a single measure at both child and parent levels. For a given row, select any cell and click on the ‘Invert’ button. Notice how the sign for the Discount measure has been flipped in the example below.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FZBJwqs1OtvxIAcgw7eeU%252F3.1.%2520Invert%2520measure.png%3Falt%3Dmedia%26token%3D4e1513a0-2c7b-4ed9-8f78-28cb99dda52e&width=768&dpr=4&quality=100&sign=3e8930ca&sv=1)
When hierarchical data is involved, you can also change the sign for a particular measure at the parent level, this will be cascaded to all the child rows.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252F9jiVrPktaYNicpTNEdb2%252Fimage.png%3Falt%3Dmedia%26token%3D2a62dc9c-d4df-4a0a-9690-bdd7b92d2a8a&width=768&dpr=4&quality=100&sign=d82e2008&sv=1)
4. Sign from a source table
Instead of defining positive and negative signs at the report level, you can use the sign conventions from your data source tables. To do this, create a column that assigns values -1, +1, and 0 for negative, positive, and totals respectively. A sample table is shown below.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FI2YtD0XB8TGAsI2235Yd%252FSign%2520table1.png%3Falt%3Dmedia%26token%3D17eee28a-3112-4559-90d8-550244f42158&width=768&dpr=4&quality=100&sign=afff36f8&sv=1)
a) Add this sign column in the 'Sign' field. You can see the change in the values in the below image and also the calculation of subtotals and totals.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252F7tRgI1801N80Sa2TXJsb%252Fsign%2520measure.png%3Falt%3Dmedia%26token%3D9aade8ae-b1df-456e-97c9-df6384062815&width=768&dpr=4&quality=100&sign=dbbc9581&sv=1)
b) On enabling the 'Sign in header' option, you can see the positive, negative, and total rows with the signs in the header.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252FvSxwMTeJ7Fgxsuj6O3S6%252Finvert%2520sign.png%3Falt%3Dmedia%26token%3Dab7a82ab-c381-48f9-9cdf-3d29ee3f5978&width=768&dpr=4&quality=100&sign=b173be36&sv=1)
c) The 'Invert' option is disabled when the sign column is added.
![](https://docs.inforiver.com/~gitbook/image?url=https%3A%2F%2F3062809325-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FEbkCXCUXmtUq5tcnUtZE%252Fuploads%252Fk8UbC4ez7jz0cW73RGvl%252FInvert%2520disabled.png%3Falt%3Dmedia%26token%3Da72118e0-8cb8-4754-bb06-329b24193d61&width=768&dpr=4&quality=100&sign=1794fe94&sv=1)
When a sign field is added, you cannot add column fields.
In the next section, we'll be covering the Audit log feature.
Resources
Invert signs for reporting in Microsoft Power BI with Scenarios
Last updated