The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello!
Please advise how to add ISBLANK or adjust the measure so the scorecard will not show BLANK (shows 0) if there is no value.
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it suits your requirement.
Ready Units =
VAR _result =
CALCULATE (
DISTINCTCOUNT ( 'Table Name'[UNIT_NO] ),
'Table Name'[Unit Status] IN { "Ready" }
)
RETURN
IF ( ISBLANK ( _result ), 0, _result )
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it suits your requirement.
Ready Units =
VAR _result =
CALCULATE (
DISTINCTCOUNT ( 'Table Name'[UNIT_NO] ),
'Table Name'[Unit Status] IN { "Ready" }
)
RETURN
IF ( ISBLANK ( _result ), 0, _result )
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |