Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahamed_Qlik
Specialist
Specialist

Columns compare

Hi

 

As you can see picture below, I want to compare these two column values either on set analysis or in back end script.

Mahamed_Qlik_0-1695273538426.png

 

Labels (1)
3 Replies
VatsalyaSolanki
Contributor III
Contributor III

Hey @Mahamed_Qlik ,

Could you be more specific like what do you want to achieve by comparing those Fields.

Accept as answer, if the solution works for you.
Mahamed_Qlik
Specialist
Specialist
Author

Ok. Diagram itself is explanatory however I will make it more clear.

We have 4 tables....

Table1 and Table2 we are connecting based on one key column named as Key1,

similar Table 1 and Table3 are connecting based on Key3 and Table2 and Table 4 are connecting based on Key4.

 

Now, we have price column in Table 1 for which we need to write expression as -

Sum (Price) where ID =ID...so for this reason we want to compare ID1 and ID2 from both table 

VatsalyaSolanki
Contributor III
Contributor III

Try This

Sum({$<ID1={"=ID1=ID2"}>}Price)

Or

Sum({$<ID1=P(ID2)>}Price)

Accept as answer, if the solution works for you.