Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am trying to count the number of times in a month a serial number is rebooting. So from the start date that is the number w ewill start with 10, now at the end of the month the reboots has increased by 10 in Jan so my measure or field would need to calculate and show me 10.
SN Date reboots
abc 1/1 10
abc 1/3 15
abc 1/21 20
Solved! Go to Solution.
hi @sbolton1855
try this:
For November I would expect to have 32, my cycle count is the reboots. I didnt get any syntax errors tho and I also selected Dont sum.
Reboots = var CurrentSN = battery[serialnumber]
var CurrentMonth = MONTH(battery[month])
var Table1 = FILTER(battery,abattery[serialnumber]=CurrentMonth)
var StartReboot = MINX(battery,ah_battery[cyclecount])
var EndReboot = MAXX(battery,battery[cyclecount])
RETURN EndReboot-StartReboot
StartReboot is zero and EndREboot is 65535
hi @sbolton1855
try this:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 8 |