Join 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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
How do I convert the below tableau's calculated field into DAX? I dont want to create a column for it. I want to use this field as a filter in the report.
{FIXED [VisitId]:
SUM( IF CONTAINS([QuestionText], "Did you test the terminal?")
THEN
IF ([AnswerText] = "Yes")
THEN 1 END END)}
Solved! Go to Solution.
Hi, @Anonymous
Try below measure for Your problem
FIXED VisitId=
var a = if(
CONTAINS(
Tablename,
Tablename[QuestionText],
("Did you test the terminal?")) && Tablename[AnswerText] = "Yes",
1
)
In Power BI you can't direct use measure as filter(Slicer) for that you need to use Field parameter
Refer LINK for Field parameter
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Try below measure for Your problem
FIXED VisitId=
var a = if(
CONTAINS(
Tablename,
Tablename[QuestionText],
("Did you test the terminal?")) && Tablename[AnswerText] = "Yes",
1
)
In Power BI you can't direct use measure as filter(Slicer) for that you need to use Field parameter
Refer LINK for Field parameter
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 17 | |
| 14 | |
| 13 |