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
jm_brenot
Frequent Visitor

DAX evaluate table : how to remove table name from columns name

Hi,

 

I'm using this great post (https://biinsight.com/exporting-data-from-power-bi-desktop-to-excel-and-csv-part-2-importing-power-b...) to export table data from Power Bi directly to Excel.

Using EVALUATE 'Table' returns columns named TABLENAME[ColumnName].

Is there a way to get rid of the TABLENAME[] in each column name?

 

Thanks for your help.

 

Sincerely,

 

JM

3 REPLIES 3
v-danhe-msft
Employee
Employee

Hi @jm_brenot,

I have tested the evaluate function in Dax studio, you could use the formula to test if it could get column data:

EVALUATE 
	VALUES(Table1[Column1])

1.PNG

 

I hope it could help you.

 

Regards,

Daniel He

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

Thank you for your answer Daniel.

Unfortunately, from excel SSAS connection, using EVALUATE VALUES(Table1) still brings Table1[] around the names of the columns.

 

Reagards,

 

JM

Hi @jm_brenot,

Based on my test, it could work in the Power BI Desktop, you could refer to below picture:

1.PNG

Could you have tried the code EVALUATE VALUES( your table [your column]) instead of the code EVALUATE VALUES(your table)?

I suggest you try again.

 

Regards,

Daniel He

Community Support Team _ Daniel He
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.