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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Solved! Go to Solution.
try like
count of deepdischarge =
VAR _value= SUMX ( VALUES ( 'Table'[IoT device ID] ), IF ( [Deep Discharge hour]> 1, 1 ) )
RETURN
IF( _value=BLANK(), 0, _value )
Hi @reynold522
you can use
count of deepdischarge = SUMX ( VALUES ( 'Table'[IoT device ID] ), IF ( [Deep Discharge hour]> 1, 1, 0 ) )
try like
count of deepdischarge =
VAR _value= SUMX ( VALUES ( 'Table'[IoT device ID] ), IF ( [Deep Discharge hour]> 1, 1 ) )
RETURN
IF( _value=BLANK(), 0, _value )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |