Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi together,
I have a few databases on sql servers which a get in powerbi via direct query. I created relationships between the datasources and not want to add new columns using the RELATED command. I always get an error that there is no realtionship or the column which i would to take is not availible. But both failures do not exist. The column is there and i choose it from the suggestions which powerbi makes when i search for it and the relationship is also there. I must go via direct query and not import cause the files are too big.
It it possible that RELATED do not work with SQL Servers as sources via direct query?
Thanks a lot for your help.
Hi @steffens12 ,
Based on the description, RELATED is supported in DirectQuery. RELATED function can not be used to fetch a column across a limited relationship.
You can also view the following documents to learn more information.
RELATED function (DAX) - DAX | Microsoft Learn
Solved: Direct Query - related function - Microsoft Fabric Community
Model relationships in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@steffens12 , Related only works for one to many relation, when you create a column in Many side table taking value from one side table.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |