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.
Hi,
By using the RANX function, I understand how to get the new inflow of clients.
However, I am unable to calculate the outflow in a column using the RANX function.
Calculate inflow over time:
Rank = RANKX(FILTER('Table','Table'[Client ID]=EARLIER('Table'[Client ID])),'Table'[Date],,ASC,Dense)
If a client gets Rank "1", this client is new in the dataset (compared with previous date).
Can I also convert this formula so that I can see the outflow of clients?
So that the client gets Rank "1" when a customer is in the data set for the last time (Rank ouflow)?
Client ID | Date | Rank (inflow) | Rank (outflow) |
1 | 01-2020 | 1 | 3 |
2 | 01-2020 | 1 | 2 |
1 | 02-2020 | 2 | 2 |
2 | 02-2020 | 2 | 1 |
1 | 03-2020 | 3 | 1 |
3 | 07-2020 | 1 | 2 |
3 | 08-2020 | 2 | 1 |
Regards,
Tom
Solved! Go to Solution.
test the same measurement with DESC as follows.
Rank a RANKX(FILTER('Table','Table'[Client ID]-EARLIER('Table'[Client ID])),'Table'[Date],DESC,Dense)
Best regards
Manikumar
Proud to be a Super User!
test the same measurement with DESC as follows.
Rank a RANKX(FILTER('Table','Table'[Client ID]-EARLIER('Table'[Client ID])),'Table'[Date],DESC,Dense)
Best regards
Manikumar
Proud to be a Super User!
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 |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |