Hi,
I have a query that compares two different tables (TableX and TableXSnapshot) joined together by "LEFT OUTER JOIN" from "FieldZZ", and gives back the items that have different values.
In this query I have multiple columns, so difference in two tables can be from FieldA, FieldB, or FieldC. I use the code I have included at the bottom to filter out only the items that are different.
I am trying to do a color formatting, where I can show the different field in these two tables. For example, if the difference is at FieldA, I want to highlight FieldA with a certain color (lets say Yellow). If the difference was in multiple areas (FieldA and FieldB), then I want to color those to with a certain color.
Is this possible with using two different tables? I have looked at other similar questions, but wasn't able to solve my problem.
The only other thing is that the field names from the TableX and TableXSnapshot are exactly the same, therefore I don't think I can include both fields from both Tables in my report so that I can compare those two (i.e. =iif(Fields!FieldA <> Fields!FieldB, "YELLOW", "TRANSPARENT")
Help would be greatly appreciated.
-The code I use to filter only different items-
HAVING TableX.FieldA <> TableXSnapshot.FieldA OR TableX.FieldB <> TableXSnapshot.FieldB OR TableX.FieldC <> TableXSnapshot.FieldC