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
Anonymous
Not applicable

Import a column from another table

Hello Everyone, 


I am new to Power BI and I am blocked. I created a table and i am trying to import a column from another table but I am totally blocked. I created the table VilleEventstest (as you can see on the picture) and I would like to add the column ROI Final to the table VilleEventstest. 

Here is the DAX formula:

VillesEventsTEST = 
UNION(
    DISTINCT(
        GENERATE (
            SUMMARIZE(Recap;Recap[id]);
            CALCULATETABLE (
                SELECTCOLUMNS (
                    Recap;
                    "Ville";Recap[Ville1clean DAX]
                );
                Recap[Ville1clean DAX] <> BLANK()
            )
        )
    );
    DISTINCT(
        GENERATE (
            SUMMARIZE(Recap;Recap[id]);
            CALCULATETABLE (
                SELECTCOLUMNS (
                    Recap;
                    "Ville";Recap[Ville2clean DAX]
                );
                Recap[Ville2clean DAX] <> BLANK()
            )
        )
    );
    DISTINCT(
        GENERATE (
            SUMMARIZE(Recap;Recap[id]);
            CALCULATETABLE (
                SELECTCOLUMNS (
                    Recap;
                    "Ville";Recap[Ville3 DAX]
                );
                Recap[Ville3 DAX] <> BLANK()
            )
        )
    )
)
Thank you very Much 🙂ROI.PNGVille EVENT.PNG
1 REPLY 1
v-cherch-msft
Employee
Employee

Hi @Anonymous 

 

It's hard to provide an accurate solution without sample data and expected output.Please refer to this article How to Get Your Question Answered Quickly.You can upload the .pbix sample file to OneDrive and post the link here. Do mask sensitive data before uploading.

 

 

Regards,

Cherie

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

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.