Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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 FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
15 | |
11 | |
11 | |
10 |