Forum Discussion
lcasey
7 years agoPost Prodigy
Create new Table from Last record
Hello, Is there a way to grab only the LAST record for a bunch of records based on the latest date? In SQL server it is super east and extreemly fast. I woudl simply select * from all rows with M...
- 7 years ago
LivioLanzo
7 years agoSolution Sage
Could you post a a dataset I could copy/paste?
gracias
lcasey
7 years agoPost Prodigy
Hello,
Here is a link to the actual spreadsheet:
- LivioLanzo7 years agoSolution Sage
try like this:
FILTER( NATURALINNERJOIN( Table_query__1, SUMMARIZECOLUMNS( Table_query__1[Company Name - Nombre de Empresa], "MaxEventDate", MAX( Table_query__1[Event Date - Fecha de Evento] ) ) ), [MaxEventDate] = [Event Date - Fecha de Evento] )- lcasey7 years agoPost Prodigy
Unfortunatly that doesnt work.
- lcasey7 years agoPost Prodigy
Unfortunatly that doesnt work.
- LivioLanzo7 years agoSolution Sage
hello lcasey
Does your table inside PowerBI have the same name and same column names as the one I am using? I am guessing not.
The Query worked on my side, it looks like it is an issue of field names. I have also noticed that you added an extra FILTER expression at the end of my Query