Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello.
I'm trying to create a calculated measure that would COUNT hasExtPower=TRUE for a certain PublicDeviceId. This measure must count only the last 10 entries (GpsTime DESC).
The output should look like this
SN Count of last 10 messages TRUE
29503 5
Solved! Go to Solution.
@Domen , Create a rank column
Rank GpsTime = rankx(Table, Table[GpsTime],,desc, dense)
countrows(filter(Table, Table[Rank GpsTime ]<= 10 && [hasExtPower]=TRUE() ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
14 | |
11 | |
7 |
User | Count |
---|---|
26 | |
24 | |
12 | |
11 | |
10 |