Good afternoon,
I am trying to complete a RANKX that will only rank the individual lines that are greater than zero in "Column 1", but I am getting the following results
Example 1, all columns with 0 in are showing 1 or 2 even though there are 20 lines with the same "callid", but different "date_time"
Example 2, confirms ranking from 1 to 20 based on the "date_time"
Ideally I want the lines ranked if "Column 1" is greater than 0, but I want the rank to go 1, 2, 3 etc, leaving the other rows with a Blank as a result but not increasing the rank to count the row if it has a 0
Hopefully that helps, thanks in advance
Gavin
I am trying to complete a RANKX that will only rank the individual lines that are greater than zero in "Column 1", but I am getting the following results
Example 1, all columns with 0 in are showing 1 or 2 even though there are 20 lines with the same "callid", but different "date_time"
Example 2, confirms ranking from 1 to 20 based on the "date_time"
Ideally I want the lines ranked if "Column 1" is greater than 0, but I want the rank to go 1, 2, 3 etc, leaving the other rows with a Blank as a result but not increasing the rank to count the row if it has a 0
Code:
Example 1
=RANKX (FILTER (ALL ( Sheet1 ),Sheet1[callid] = EARLIER ( Sheet1[callid]) && Sheet1[Calculated Column 1] > 0 ),Sheet1[date_time],,ASC)
Example 2
=RANKX(FILTER(ALL(Sheet1),Sheet1[callid]=EARLIER(Sheet1[callid])),Sheet1[date_time],,DESC,Dense)
Hopefully that helps, thanks in advance
Gavin