Forum Discussion
etalon
7 years agoFrequent Visitor
Alternative to LOOKUPVALUE
I have got this to work, but I really don't like how I have done it, and was wondering if there was a better way? I have two tables: TankID: contains the unique tank ID plus related informat...
- 7 years ago
hi, etalon
For your requirement, you could try this formula:
Column 2 = var _maxdatetime=CALCULATE(MAX(FuelLevels[Date/Time])) return CALCULATE(SUM(FuelLevels[Value]),FuelLevels[Date/Time]=_maxdatetime)
Best Regards,
Lin
v-lili6-msft
Community Support
7 years agohi, etalon
For your requirement, you could try this formula:
Column 2 = var _maxdatetime=CALCULATE(MAX(FuelLevels[Date/Time])) return CALCULATE(SUM(FuelLevels[Value]),FuelLevels[Date/Time]=_maxdatetime)
Best Regards,
Lin