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

Extract variables in an excel

Hello, I would like to extract in an xls file all calculated columns from a pbi table to save them. I have a table created that is SALES with 89 calculated columns. I just want to extract the formula. How could you extract those calculated columns into an xls? Thank you

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @GemPOWER ,

 

Download DAX Studio

run the following against your PBI Desktop (one at a time)

 

select * from $SYSTEM.TMSCHEMA_MEASURES
select * from $SYSTEM.TMSCHEMA_COLUMNS where [Type]  = 2;

And you will see all the formula created in the table:

3.png

You could select the formula one by one and copy them out.

 

Best Regards,
Kelly

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

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @GemPOWER ,

 

Download DAX Studio

run the following against your PBI Desktop (one at a time)

 

select * from $SYSTEM.TMSCHEMA_MEASURES
select * from $SYSTEM.TMSCHEMA_COLUMNS where [Type]  = 2;

And you will see all the formula created in the table:

3.png

You could select the formula one by one and copy them out.

 

Best Regards,
Kelly

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

amitchandak
Super User
Super User

@GemPOWER , Not sure this. But analyze in excel can help to analyze data in excel -https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-analyze-in-excel

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.