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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Copy and paste table with DAX on a PBI report?

Hi Everyone,

 

I have been working on a report where there is a need to copy a table along with all its DAX measures and columns and paste it on the same report. 

I have tried duplicate table using edit query but it won't bring the DAX.

I have tried copy table in the Data view but it is giving exception. 

 

Please suggest an efficient way where I do not have to copy every individual DAX on the table? 

 

Thank you! 

5 REPLIES 5
Pragati11
Super User
Super User

Hi @Anonymous ,

 

I fear there is no way to copy DAX calculations in Power BI along with data.

- Edit Query doesn't give us access to DAX calculations

- Data View doesn't export data with DAX calculations.

 

If the requirement is you want this table with all DAX calculations on other Power BI report, try copying the Power BI .pbix file as a new one and then use it. I can't think of any other way.

 

If this is helpful give Kudos, if resolves the issue mark it as a solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

amitchandak
Super User
Super User

In Data view have tried following

table = Old table

 

Table =distinct(Ole table)

Table = selectcolumns(Table,"Col1",table[Col1],"Col2",table[Col2])

Table = summarize table(Table,table[Col1],table[Col2])

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

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

@amitchandak  Hi there, I tried your suggestion on a Data View and it gives 'unexpected exception occured'. 

If the solution given by @MFelix  does not work then If possible please share a sample pbix file after removing sensitive information.Thanks.
Proud to be a Datanaut My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

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

Hi @Anonymous ,

 

Check the post below

 

https://exceleratorbi.com.au/copy-measures-between-2-power-bi-files/


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.