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
Hi,
I have a trouble with filtering a table. Please see code below:
All Site[SiteCode] filters works properly, but not the Employee [DprtId] filter. This is what I see as the result:
Please help to understand what's wrong here.
Solved! Go to Solution.
Thanks for turning me to the right track of thougts 🙂 Just needed to change && --> AND function and now it works as I expected. Posting screenshot to anyone can help in the future.
Extremely difficult to say without sample source data. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
But, perhaps you meant that their DeptId = 100 && ( RELATED || RELATED || RELATED || RELATED ) ?
Thanks for turning me to the right track of thougts 🙂 Just needed to change && --> AND function and now it works as I expected. Posting screenshot to anyone can help in the future.
Hi @Anonymous
First of all, your OR conditions should be in parenthesises like
[DrtID] = 100 && ([SiteCode]="OD" || [SiteCode]="KV" || [SiteCode]="LV")
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!