Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a table with data (see table below).
From the table, I only want to use the records with the last time per value in the column "kenteken". I also want to be able to use the values in the columns lon and lat.
This is what i got so far:
Solved! Go to Solution.
Hi, @icturion
You can add two calculated columns as below:
lon =
LOOKUPVALUE (
AQZ_TRAVEL_MON[lon],
AQZ_TRAVEL_MON[kenteken], 'Laatste locatie'[kenteken],
AQZ_TRAVEL_MON[Date time], 'Laatste locatie'[Laatst bekend]
)
lat =
LOOKUPVALUE (
AQZ_TRAVEL_MON[lat],
AQZ_TRAVEL_MON[kenteken], 'Laatste locatie'[kenteken],
AQZ_TRAVEL_MON[Date time], 'Laatste locatie'[Laatst bekend]
)
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @icturion
You can add two calculated columns as below:
lon =
LOOKUPVALUE (
AQZ_TRAVEL_MON[lon],
AQZ_TRAVEL_MON[kenteken], 'Laatste locatie'[kenteken],
AQZ_TRAVEL_MON[Date time], 'Laatste locatie'[Laatst bekend]
)
lat =
LOOKUPVALUE (
AQZ_TRAVEL_MON[lat],
AQZ_TRAVEL_MON[kenteken], 'Laatste locatie'[kenteken],
AQZ_TRAVEL_MON[Date time], 'Laatste locatie'[Laatst bekend]
)
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The other day I read an article about SUMMARIZE, and came away a bit shellshocked.
All the secrets of SUMMARIZE - SQLBI
In a nutshell - you're likely better off using GROUPBY()
In any case you can add Lat and Lon to the groupings.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |