Forum Discussion
leebaldwin
3 years agoHelper I
If/Else For 2 Tables
First, I have to say, this user community is AWESOME! Everyone is so professional in the way they handle questions and responses that I do not see in other user groups. Now, I have a report I am ...
- 3 years ago
if the relationship between warehouse table and location table is many to one
you can try this
Column = if( RELATED(PalletLocation[LOC_TAG])="","Include",RELATED(PalletLocation[PALLET_LOC]))pls see the attachment below
leebaldwin
3 years agoHelper I
Based on the sample data, if qryWarehousePallet.PALLET_LOC is in tblPalletLocation.PALLET_LOC, then it returns tblPalletLocation.LOC_TAG, which would be Exclude, else it returns the word Include.
ryan_mayu
3 years agoSuper User
if the relationship between warehouse table and location table is many to one
you can try this
Column = if( RELATED(PalletLocation[LOC_TAG])="","Include",RELATED(PalletLocation[PALLET_LOC]))
pls see the attachment below
- leebaldwin3 years agoHelper I
Thanks ryan_mayu that worked perfectly.
- ryan_mayu3 years agoSuper User
you are welcome