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!View all the Fabric Data Days sessions on demand. View schedule
Hi everyone, I've been looking for many posts without success.
I'm using DirectQuery with 2 tables:
The field key I'm using is "Telefono", the relation between both tables is many to one (many because 0 values repetead). So I need a new table in table A indicating the record where the value is the same in table B.
I've used RELATED getting this message: "The column 'B[Telefono]' either doesn't exist or doesn't have a relationship to any table available in the current context."
I also tried changing the relation to one to one getting the same error.
Thank you.
Solved! Go to Solution.
Hi @elflakoconk
It works in DQ connection mode, I tested it in DQ mode as well.
Hi @elflakoconk
Kindly check the attachment.
Thanks for your time, but it didn't work, as I menttioned before, I need to use DirectQuery and using all the formulas described in others help answers it didn't work. It throws the same error message.
Hi @elflakoconk
It works in DQ connection mode, I tested it in DQ mode as well.
@elflakoconk , One of the Two should work
FLAG = ISBLANK(maxx(FILTER(B,A[Telefono]=B[Telefono]),B[Telefono]), "No", "Si")
FLAG = IF(ISBLANK(RELATED(B[Telefono])), "No", "Si")
Thans a lot for your help.
using this:
FLAG = ISBLANK(maxx(FILTER(B,A[Telefono]=B[Telefono]),B[Telefono]), "No", "Si")
Get this:
Too many arguments were passed to the ISBLANK function. The maximum argument count for the function is 1.
Also the autosense doesn't recognice the function FILTER and the B table.
for the second formula is the same first result.
😞
So you tried an expression like this in your column?
NewColumn = IF(ISBLANK(RELATED(B[Telefono])), "No", "Si")
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
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!