Forum Discussion
Create new Table from Last record
- 7 years ago
Hello,
Here is a link to the actual spreadsheet:
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
- lcasey7 years agoPost Prodigy
They should be the same..... I tried copying again but no luck.
Are you positive Dax is even capable of doing this? In SQL it is litterally so easy and extreemly simple. Why Dax needs several lines of code to do such a simple thing is really scarry. Doesnt seem like a very well thought out reporting language.
All I need to do is basically just have a seperate table with all the latest rows based on that event date. Every single column should be included so that I can calculate off of those other columns. I cant remove duplicates as I then cant choose to keep the very latest row in the dataset.
Very frustrated with these Power BI limitations!