Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Calculated table with ADDCOLUMNS(SUMMARIZE LASTDATE Problem

$
0
0

Hello Folks,

 

I've got a table like this:

 

Sysid                 Enddate

Systemuser A     02-04-2017

Systemuser A     04-08-2017

Systemuser B     05-04-2017

Systemuser B     08-08-2017

 

Normally I use LASTDATE[Enddate], but instead of filter context this won't work and allexcept didn't result in the correct behaviour. 

 

I  think I need a calculated table with (Systemuser is unique because 1 Last enddate per user)

 

Sysid                 Lastdate

Systemuser A     04-08-2017

Systemuser B     08-08-2017

 

 I tried something like this, but the concept of the DAX didn't work. 

Calculated table -> Lastdatetable = ADDCOLUMNS(SUMMARIZE('PIA';PIA[Sysid];LASTDATE(PIA;EndDate) )

 

Anyone ideas?

 

Thank you! 


Viewing all articles
Browse latest Browse all 213819

Trending Articles