Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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: