Forum Discussion
vivalimon
4 years agoMicrosoft Employee
TimeStamped Data - DateDiff for each unique Customer
Hi! I'd like to calculate the time it took for a person to advance from one stage to the next, and filter only those who are advancing. INPUT I have a folder of 30+ excel files, each excel file...
- 4 years ago
You may use the following DAX to add a calculated table.
Table 2 = VAR t = SUMMARIZE ( 'Table', 'Table'[Player], 'Table'[Stage], "min Date", MIN ( 'Table'[Date] ) ) RETURN FILTER ( t, RANKX ( FILTER ( t, 'Table'[Player] = EARLIER ( 'Table'[Player] ) ), 'Table'[Stage], , ASC ) > 1 )
v-chuncz-msft
4 years agoCommunity Support
You may use the following DAX to add a calculated table.
Table 2 =
VAR t =
SUMMARIZE (
'Table',
'Table'[Player],
'Table'[Stage],
"min Date", MIN ( 'Table'[Date] )
)
RETURN
FILTER (
t,
RANKX (
FILTER ( t, 'Table'[Player] = EARLIER ( 'Table'[Player] ) ),
'Table'[Stage],
,
ASC
) > 1
)