Forum Discussion
juhoneyighot
Helper III
2 years agoProblem with DAX IFERROR formula
I'doing this IFERROR DAX formula: Phase _ = IFERROR(IF('stx__legacy_fsjob'[# of _]="","", FIND("~", SUBSTITUTE('stx__legacy_fsjob'[_JobType_txt],"_","~",'stx__legacy_fsjob'[# of _]-1))),'stx__legacy...
- Anonymous2 years ago
HI juhoneyighot,
I think this should be more related to your data source connection mode. AFAIK, direct query mode has limited the Dax functions usage.
For this sceniaro, you can't create calculate columns in direct query with complex Dax functions. I'd like to suggest you use measure expression instead.Regards,
Xiaoxin Sheng
juhoneyighot
Helper III
2 years agotamerj1
Community Champion
2 years agojuhoneyighot
Please try
Phase _ =
IFERROR (
IF (
'stx__legacy_fsjob'[# of _] = BLANK (),
"",
FIND (
"~",
SUBSTITUTE (
'stx__legacy_fsjob'[_JobType_txt],
"_",
"~",
'stx__legacy_fsjob'[# of _] - 1
)
) & ""
),
'stx__legacy_fsjob'[_JobType_txt]
)- juhoneyighot2 years ago
Helper III