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! Request now
Hi,
So I am trying to use VAR in a filter and came across this issue:
Why this:
Solved! Go to Solution.
well that totally makes sense now.
if var has to be scalar then there is no way it would work.
thanks for having a look into it, that's what i needed.
Can you please share the Power bi file?
Based upon your post and my understanding, the variable _LEFT will be storing a number and what you are trying to perform in the 2nd measure after RETURN is that :
You are trying to filter the table ie. Filter( Table, _LEFT && [type]="Phone")
_LEFT is storing a number. So as per me it does not makes any sense in the filter part. If _LEFT is 0, it would be taking false and if it is 1 it would be taking 1. (This is my understanding)
I am not sure about the answer and I might be wrong.
well that totally makes sense now.
if var has to be scalar then there is no way it would work.
thanks for having a look into it, that's what i needed.
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 |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |