Hi everyone,
I am trying to solve the following problem where I have a table similar to the following one (in Power Query Editor):
I would like to get two of the following result but I don't know how to get it:
Thanks in advance.
Solved! Go to Solution.
Hi @Anonymous ,
Create new table:
Table 2 =
SELECTCOLUMNS (
'Table',
"UID", 'Table'[UID],
"Date1",
CALCULATE (
MAX ( 'Table'[DATA1] ),
FILTER ( 'Table', 'Table'[UID] = EARLIER ( 'Table'[UID] ) )
),
"Date2",
CALCULATE (
MAX ( 'Table'[DATA2] ),
FILTER ( 'Table', 'Table'[UID] = EARLIER ( 'Table'[UID] ) )
),
"Date3",
CALCULATE (
MAX ( 'Table'[DATA3] ),
FILTER ( 'Table', 'Table'[UID] = EARLIER ( 'Table'[UID] ) )
)
)
Table 3 = DISTINCT('Table 2')
Best Regards
Lucien
Hi @Anonymous ,
Create new table:
Table 2 =
SELECTCOLUMNS (
'Table',
"UID", 'Table'[UID],
"Date1",
CALCULATE (
MAX ( 'Table'[DATA1] ),
FILTER ( 'Table', 'Table'[UID] = EARLIER ( 'Table'[UID] ) )
),
"Date2",
CALCULATE (
MAX ( 'Table'[DATA2] ),
FILTER ( 'Table', 'Table'[UID] = EARLIER ( 'Table'[UID] ) )
),
"Date3",
CALCULATE (
MAX ( 'Table'[DATA3] ),
FILTER ( 'Table', 'Table'[UID] = EARLIER ( 'Table'[UID] ) )
)
)
Table 3 = DISTINCT('Table 2')
Best Regards
Lucien
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
User | Count |
---|---|
5 | |
3 | |
1 | |
1 | |
1 |