In this article
Learn how to compare versions of report code in a few steps. Click Versions icon, select two versions, click Compare, and view highlighted differences.
To identify changes in the report code, you can compare two versions of the code. For example, when an error is found, you may want to compare the current version to a previous version. To do so:
Click the Versions icon in the sidebar to open the Versions panel.
In the Versions panel, hover over one of the versions you want to compare and click the Compare icon.
Tick the box beside the other version you wish to compare, then click the Compare button.
Note
You can only compare two versions at a time.
Comparing two report versions
Any variations between the two versions are highlighted by patches in the right-side column of the overlay, and dissimilar rows are shaded.
Drag the scroll buttons, or use the scroll wheel to scroll through the code. The two versions scroll together so you can directly compare any differences.
The actual changes within the rows are also highlighted in darker shades (an example is ringed in the version on the right).
When one version has more lines of code than the other (due to lines being added or removed), empty, un-numbered shaded lines are added to the other version to maintain line parity between the two versions. This allows the code that is in both versions to be compared more easily. Additionally, lines that have been added will have a "+" sign beside the line number, while lines that have been removed will have a "-" sign.
You can switch the versions being compared by clicking on the date/time field above the version you wish to change and selecting a different version from the drop-down menu.
When you are done with the comparison, you can exit the overlay by clicking the X button located in the upper-right corner of the overlay.