Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
unnijoy
Post Prodigy
Post Prodigy

Combining two columns from two table for creating a new table

Hi All,

 

I have two table and have common columns.

1.Month

2.Country

Now i need to create 2 tables once for Month and the other for Country

I use the below dax

Month= DISTINCT(UNION(VALUES('HC Data'[Month]),VALUES('Raw Data - Aug to Oct 19'[Completed Month])))

Countr = DISTINCT(UNION(VALUES('HC Data'[Country]),VALUES('Raw Data - Aug to Oct 19'[Country])))
But when i try to creat a relationship with his two table it is giving me an error saying Circular Dependency.
 
How can i fix this. Please help.
4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @unnijoy ,
 
 It is a common problem between calculate column and relationship.
You can upload sample pbix file and expected output to OneDrive for Business and post the link here. (Please mask any sensitive data before uploading)
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

Can you share relationship diagram

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Tara_
Helper II
Helper II

Hi @unnijoy ,

Can you use Power Query? This way you can merge the tables by Month for the month table and Country for the other. 

i don't understand. Can you explain

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors