The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Solved! Go to Solution.
Hi @davidoz
please try
=
VAR NextDate = [Next Date]
RETURN
MAXX ( FILTER ( TableName, TableName[Date] = NextDate ), TableName[Base] )
Hi @davidoz
please try
=
VAR NextDate = [Next Date]
RETURN
MAXX ( FILTER ( TableName, TableName[Date] = NextDate ), TableName[Base] )
thank you! this worked great!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
78 | |
66 | |
52 | |
50 |
User | Count |
---|---|
121 | |
120 | |
78 | |
63 | |
62 |