Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I added a table called 'LeaveReasons' into the model manually by doing "enter data". I created a relationship with the 'Request' table. I linked the table with the common fields. But when I test in dax to create a new table I am getting msg: the column LeaveReason[category] either doesn't exist or doesn't have a relationship to any table available in the current context.
This is the dax I have:
Solved! Go to Solution.
Hi @wpf_ ,
I believe this is a bug, whereby RELATED() does not work between tables that are mixed Direct Query/Import.
You can check issue progress and vote here: https://community.powerbi.com/t5/Issues/DAX-function-quot-RELATED-quot-does-not-work-between-DirectQ...
Pete
Proud to be a Datanaut!
Hi @wpf_ ,
I believe this is a bug, whereby RELATED() does not work between tables that are mixed Direct Query/Import.
You can check issue progress and vote here: https://community.powerbi.com/t5/Issues/DAX-function-quot-RELATED-quot-does-not-work-between-DirectQ...
Pete
Proud to be a Datanaut!
@wpf_ Question is bit confusing.
Have you created a manual table or created table with DAX? can you share the Model view to see what tables you are dealing with and where is the issue!?
Proud to be a Super User!
@VijayP ,
I cant really share the table because it is a directquery.
I created a table manually by going into "Enter Data". Then i set the relationship in the model view. Then to test it in dax, I tried that code in dax studio and in power bi desktop. In power bi desktop i went to "New Table" and used that code.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
215 | |
89 | |
76 | |
66 | |
60 |