Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Dear all , can someone help me look at below dax function? error: The syntax for ',' is incorrect.
Return
Solved! Go to Solution.
Hi @xiumi_hou ,
Could it possibly be that this part of your code:
if(
SinceBaseLine_PHQ>=6 || SinceBaseLine_GAD>=4,
"Yes"),
"No")should be written like this?
if(
SinceBaseLine_PHQ>=6 || SinceBaseLine_GAD>=4,
"Yes",
"No"
)
The full code would then be
IF (
HASONEFILTER ( 'Cases'[name] ),
IF (
BaseLineActualDate = BaseLineBaseDate,
"Not available",
IF ( SinceBaseLine_PHQ >= 6 || SinceBaseLine_GAD >= 4, "Yes", "No" )
),
"--"
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi @xiumi_hou ,
Could it possibly be that this part of your code:
if(
SinceBaseLine_PHQ>=6 || SinceBaseLine_GAD>=4,
"Yes"),
"No")should be written like this?
if(
SinceBaseLine_PHQ>=6 || SinceBaseLine_GAD>=4,
"Yes",
"No"
)
The full code would then be
IF (
HASONEFILTER ( 'Cases'[name] ),
IF (
BaseLineActualDate = BaseLineBaseDate,
"Not available",
IF ( SinceBaseLine_PHQ >= 6 || SinceBaseLine_GAD >= 4, "Yes", "No" )
),
"--"
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |