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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
Microsoft Employee
Microsoft 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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