cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
beyzakizilkaya
Helper III
Helper III

Self relationship for a Table

Hello all, 

I have a question. Is it possible to create a self relation in power bi? I have a table and the values in this tables can be used both parent and child. That's why I have thought that I can create a self relation and use the same columns with different goals. If it's not possible, do you have any suggestion about this case? 

Thanks

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@beyzakizilkaya 

Not very clear if there is better solution in your case, you may create a copy of the table to have a parent table and a child table with relationship.

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

mahoneypat
Super User IV
Super User IV

Can you provide example data and desired output/functionality?  FYI that, if needed, you could pass filters between two columns in the same table with TREATAS.

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


amitchandak
Super User IV
Super User IV

@beyzakizilkaya , You have brought one more copy with a different name, or create a copy in power query of DAX

 

Dax example 

New Table = 'Old Table'



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors