Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all,
I am trying to write a measure or column (whichever one does the trick) that ranks the due date for each individual in the table based on his or her respective due dates. For example, I have this table below. Whenever I try to rank their due dates I get an overall rank (see rank column) . What I am looking for is what's in the rankx column. A rank of due date for each customer only.
Any ideas on how I can do this?
Solved! Go to Solution.
@Anonymous
Try this column
Column = RANKX ( FILTER ( table1, Table1[ID] = EARLIER ( Table1[ID] ) ), Table1[Date], , ASC, DENSE )
@Anonymous
Try this column
Column = RANKX ( FILTER ( table1, Table1[ID] = EARLIER ( Table1[ID] ) ), Table1[Date], , ASC, DENSE )
That did it. Thanks so much.
Hey I am also trying this but did not work for me
kindly help
It is showing below erro message
"EARLIER/EARLIEST refers to an earlier row context which doesn't exist."
You can't use it in a measure, create a calculated column.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |