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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Measure datatypes mapping using Dax studio

Hi,

I am trying to export the measures and their datatypes from  my Power BI and I used the DAX Studio. The data types are coming in numbers like 5, 20, 12,... Is there a mapping table to find out which one is which(String, numbers, etc)?

9 REPLIES 9
MFelix
Super User
Super User

Hi @Anonymous ,

 

Check if any of this links helps you:

 

https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Querying-DMV-Data-Types-in-DAX-Studio/td-p/3373937

https://www.maxwikstrom.se/power-bi-administration/export-your-power-bi-dax-measures-using-dax-studio/

 


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



Anonymous
Not applicable

Hi, I can see the datatypes but they are in numbers. I need to map them to words, like Text, Decimal number and ... How Can I get that?

Not sure why you would need that but here's the reference - you can do your own mapping

 

Data types supported in Analysis Services tabular models | Microsoft Learn

Anonymous
Not applicable

Hi Ibendlin,

The reference you sent me does not have any mention of the codes which I see in the DAX studio. Am I missing something?

Connect to your dataset in DAX Studio. Run 

 

select * from $SYSTEM.TMSCHEMA_COLUMNS

 

and then infer your mapping.

Anonymous
Not applicable

Here is the issue:

sarkani_0-1694179915459.png

How can I find out what is 2, 6, or 9? It is not present in the link you provided. 

2 = Text

6 = SmallINT

19 = BigINT

Anonymous
Not applicable

Yes. This is what I require, the whole list of all the datatypes and related codes. Where do you find them? Our BI solution is huge and all kind data types are used, thats why I need the whole reference of this

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors