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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |