Referencing: Expressions to get data from a different table

in PRODUCTS table, can I make a Virtul Column with a expression โ€˜GET [Profit %] from SETTINGS table where [Email] is equal to USEREMAIL()โ€™

I have a product catalog app where I want users to set their own listing prices on the products. For instance, on the app, a product is listed to $10 and a users wishes to add another $3 (30%) to mark a profit, how can I achieve this?

I have set up a product table with my listing price and settings table with useremail and user profit percentage. I want the user retail price (ie, $13) to show on the product detail page.

I have tried, using user settings but itโ€™s not working somehow.

Anyone with answers? Thanks

Solved Solved
0 4 350
1 ACCEPTED SOLUTION

If you donโ€™t have relationship between these two tables, it would be something likeโ€ฆ LOOKUP(USEREMAIL(),โ€œSettingsโ€,โ€œEmailโ€,โ€œProfit %โ€)

View solution in original post

4 REPLIES 4

If you donโ€™t have relationship between these two tables, it would be something likeโ€ฆ LOOKUP(USEREMAIL(),โ€œSettingsโ€,โ€œEmailโ€,โ€œProfit %โ€)

This works perfectly, Thank You

Steve
Platinum 5
Platinum 5

Youโ€™re welcome