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.
Provider | Timestamp | Capacity | Rank |
A | 24/05/2021 10:18 | 1 | 1 |
A | 24/05/2021 09:18 | 0 | 2 |
B | 24/05/2021 10:20 | 0 | 1 |
A | 23/03/2021 10:30 | 1 | 1 |
B | 23/03/2021 09:20 | 2 | 1 |
Solved! Go to Solution.
@HMJSomerset , Create a date from from Timestamp
Date = [Timestamp].date
or
Date = date(year([Timestamp]),month([Timestamp]),day([Timestamp]))
and then try this rank column
Daily Rank =
RANKX(
FILTER(
ProvCapacity,
ProvCapacity[ProviderID]=EARLIER(ProvCapacity[ProviderID]) && ProvCapacity[Date]=EARLIER(ProvCapacity[Date])
),
ProvCapacity[Timestamp]
)
@HMJSomerset , Create a date from from Timestamp
Date = [Timestamp].date
or
Date = date(year([Timestamp]),month([Timestamp]),day([Timestamp]))
and then try this rank column
Daily Rank =
RANKX(
FILTER(
ProvCapacity,
ProvCapacity[ProviderID]=EARLIER(ProvCapacity[ProviderID]) && ProvCapacity[Date]=EARLIER(ProvCapacity[Date])
),
ProvCapacity[Timestamp]
)
Thank you. I have amended the DAX and it now works correctly.
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 | |
98 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |