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 everyone
How can I make a column calculated by category and by date?
Date | Category | Order |
2020-08-01 | A | 1 |
2020-08-03 | A | 3 |
2020-08-03 | A | 3 |
2020-08-02 | A | 2 |
2020-08-04 | A | 4 |
2020-08-25 | B | 4 |
2020-08-03 | B | 1 |
2020-08-10 | B | 2 |
2020-08-10 | B | 2 |
2020-08-24 | B | 3 |
2020-08-21 | C | 4 |
2020-08-08 | C | 2 |
2020-08-02 | C | 1 |
2020-08-14 | C | 3 |
I would like to create a column to classify and sort each category by date.It's possible?
Solved! Go to Solution.
@Anonymous ,
Check if you need a new column like this
Rank = RANKX(FILTER((RankTable), RankTable[Category]=EARLIER(RankTable[Category])),[Date],,asc,Dense)
@Anonymous ,
Check if you need a new column like this
Rank = RANKX(FILTER((RankTable), RankTable[Category]=EARLIER(RankTable[Category])),[Date],,asc,Dense)
@Anonymous
Is this the outcome do you require. Please let me know!
0
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 |
---|---|
107 | |
100 | |
80 | |
63 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |