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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ktkpatra
Frequent Visitor

Manage relationship

I am having trouble in relationship. I would like to know relationship in my Power BI desktop have same dataset with different year with 2 different file. I want make relationship Sales order number from both the dataset. Is it possible or something need to other way.. please let me know or call me to explain you more. Your help will be highly appreciated. thanks

 

ktkpatra_0-1641370913556.png

 

1 ACCEPTED SOLUTION

Hi @ktkpatra ,

 

Please refer:

SALES_DOC = DISTINCT(

                        UNION(
                        ALL('2020 ENI'[Sales Document]),

                        ALL('2020 HV_MH'[Sales Document]),

                        ALL('2021 ENI'[Sales Document]),
                        ALL('2021 HV_MH'[Sales Document])

                         )

                         ) 

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
ktkpatra
Frequent Visitor

Thanks for your reply.

In same way Power BI desktop have same dataset with different year with 4 different file. I want make relationship Sales order number from all the dataset and getting error as "Operator or expression '() is not supported in this context" below. Could you please help me 

 

ktkpatra_1-1641409576885.png

OR

ktkpatra_2-1641409655112.png

 

 

Hi @ktkpatra ,

 

Please refer:

SALES_DOC = DISTINCT(

                        UNION(
                        ALL('2020 ENI'[Sales Document]),

                        ALL('2020 HV_MH'[Sales Document]),

                        ALL('2021 ENI'[Sales Document]),
                        ALL('2021 HV_MH'[Sales Document])

                         )

                         ) 

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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