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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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-Studi...

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

 


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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.