Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Here's my measure:
Solved! Go to Solution.
Hi @wbarnes ,
In DAX, string outputs in a measure must be returned as a DAX expression, not as comments (i.e., you can’t use -- for comments inside the formula). Also, "General Number" is not a valid format string for FORMAT—use "#" or just wrap the number in FORMAT without a format string.
Provider ID =
VAR ProviderID =
LOOKUPVALUE(
'Provider Lookup'[Provider ID],
'Provider Lookup'[Provider Name],
'Code Stroke DDR'[Who provided Telestroke Service]
)
RETURN
IF(
ISBLANK(ProviderID),
"No ID",
FORMAT(ProviderID, "")
)
Hi @rohit1991,
That worked perfectly, and thanks for the explanation as to why my measure was not working!!!
Hi @wbarnes ,
In DAX, string outputs in a measure must be returned as a DAX expression, not as comments (i.e., you can’t use -- for comments inside the formula). Also, "General Number" is not a valid format string for FORMAT—use "#" or just wrap the number in FORMAT without a format string.
Provider ID =
VAR ProviderID =
LOOKUPVALUE(
'Provider Lookup'[Provider ID],
'Provider Lookup'[Provider Name],
'Code Stroke DDR'[Who provided Telestroke Service]
)
RETURN
IF(
ISBLANK(ProviderID),
"No ID",
FORMAT(ProviderID, "")
)
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |