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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
unnijoy
Post Partisan
Post Partisan

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

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.