Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Solved! Go to Solution.
Hi @22LACMT ,
As far as I know,"||" should be OR function in Dax. Grey's code should work and please check your data model.
Also you can update your code as below.
SFFandCCRC_indicator =
VAR blue =
SELECTEDVALUE ( ProviderInfo[SFF] )
VAR green =
SELECTEDVALUE ( PIPastMonth1[Special Focus Status] )
RETURN
IF (
OR ( blue IN { "SFF", "SFF Candidate" }, green IN { "SFF", "SFF Candidate" } ),
"True",
"False"
)
You can download my sample file to learn more details.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Im missing something there should be 12 records and there are none marked as true
@22LACMT I *think* you want this:
var blue = SELECTEDVALUE(ProviderInfo[SFF])
var green = SELECTEDVALUE(PIPastMonth1[Special Focus Status])
return
if( blue = "SFF" || blue = "SFF Candidate" || green = "SFF" || green = "SFF Candidate", "True", "False")
Hi,
everything is showing as false and their should be 12 true. do you think it is the selected value.
Hi @22LACMT ,
As far as I know,"||" should be OR function in Dax. Grey's code should work and please check your data model.
Also you can update your code as below.
SFFandCCRC_indicator =
VAR blue =
SELECTEDVALUE ( ProviderInfo[SFF] )
VAR green =
SELECTEDVALUE ( PIPastMonth1[Special Focus Status] )
RETURN
IF (
OR ( blue IN { "SFF", "SFF Candidate" }, green IN { "SFF", "SFF Candidate" } ),
"True",
"False"
)
You can download my sample file to learn more details.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you, can I ask what || mean
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |