Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi i have build a rleationship in two table now ehen i am trying to created related fucntion its saying column not exist or dont have any relationship.
can any one please help me in thisi?
Hi @smishra99acres ,
Thanks to Pragati11 and rohit1991 for their quick replies. I have some other thoughts to add:
It worked fine through my tests. Can you provide example input data for both tables (please be careful to protect private data).
In addition to this, care should be taken when using the RELATED function:
(1) This is my test data.
(2) Create a new column.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ensure the relationship between the tables is correctly set up in the Model View, with matching data types for the related columns. Use fully qualified column names in your DAX formula, like:
NewColumn = RELATED(Table2[ColumnName])
If the issue persists, refresh the data model, recheck column names, and confirm there are no typos.
NewColumn = RELATED(Table2[ColumnName])
same i am using in related auto suggestion also coming when i am trying to save it then this issue arises.
both column are text which is used on retion in data model.
Hi @smishra99acres ,
Can you kindly add more details to your query please?
RELATED dax function is used when you are trying to create a calculation using two related tables. It will be nice to see a screenshot of your relationship between 2 tables along with the dax expression that is giving you error.
Please check the details on how RELATED dax function works in Power BI through the blog:
Some guidelines around how to get your query answered properly on this forum:
Using above one and in auto suggest box mobile no is coming when i tried to save it then below msg appears.
The column 'lead[Mobile No.]' either doesn't exist or doesn't have a relationship to any table available in the current context.
Column data type is text in both and link is created with same column.
User | Count |
---|---|
84 | |
79 | |
71 | |
48 | |
43 |
User | Count |
---|---|
111 | |
54 | |
50 | |
40 | |
40 |