Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 )
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |