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!Get 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 |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 20 | |
| 18 | |
| 16 | |
| 14 | |
| 14 |