Forum Discussion
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
Hi Anonymous ,
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:
You could select the formula one by one and copy them out.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
2 Replies
- amitchandak
Super User
Anonymous , 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
- v-kelly-msft
Community Support
Hi Anonymous ,
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:
You could select the formula one by one and copy them out.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!