Forum Discussion
VHosamane
7 years agoFrequent Visitor
Calculation from a lookup table with default
I have two tables, an aggregated table(AggrTbl) and another table (Lkup) is a lookup table. They are separate now but can be joined by Staff Name. I need help in calculating the Cost. In...
- Anonymous7 years ago
Try something like this:
Cost =VAR varLookup =
LOOKUPVALUE (Lkup[Rate];
Lkup[StaffName]; AggrTbl[StaffName])
RETURN
IF (
varLookup <> BLANK();
varLookup;
50)
Regards
Anonymous
7 years agoNot applicable
Try something like this:
Cost =
VAR varLookup =
LOOKUPVALUE (
Lkup[Rate];
Lkup[StaffName]; AggrTbl[StaffName]
)
RETURN
IF (
varLookup <> BLANK();
varLookup;
50
)
Regards
VHosamane
7 years agoFrequent Visitor
Worked perfectly. Thank you so much.