Forum Discussion
davidoz
4 years agoFrequent Visitor
Lookup another column in the same table
I am building a dashboard which shows the schedule of some equipment
The raw data comes in this format:
As part of the dashboard, I created this matrix below which shows the type of unit, and when it is next booked.
The NEXT DATE measure = min(date). Which basically shows the user the next date the equipment is booked. I also want to show the base where it is booked next. Basically looking up the Base column from the NEXT DATE measure. Does anybody know how to do this? I am at a bit of a dead end unfortunately because I can't figure out a way to lookup to another column on the same table.
If it helps, there is always one line per unit per day
Hi davidoz
please try
= VAR NextDate = [Next Date] RETURN MAXX ( FILTER ( TableName, TableName[Date] = NextDate ), TableName[Base] )