Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I can't find a lookup for the values in this field, can anyone point me in the right direction? Thanks!
Solved! Go to Solution.
The `category.source.type` has to values that determine the real type if you are really interested: the `primitaveType` and the `extendedType`.
Both are enums and a pretty accurate definition is available at:
In case of the screenshot Ignat: the primitiveType is 3 (`Double`) and extendedType 259 (`Double`).
And to determine the difference between a `Double` and `Decimal` is the extendedType property: `259` vs `258`
-JP
Not sure if understand the issue well. Do you want to detect column type?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Yes, exactly. This has numeric codes, I'd like to know what they map to.
To detect column type please use metadata.type.numeric
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Other parts of the API appear to distinguish "double" from "decimal". So that "valueEncoded" for a numeric might be digits followed by an M or a D (or L for integer). How to distinguish "double" from "decimal"?
As seen here in the PrimitiveValueEncoding class https://github.com/deldersveld/PowerBI-visuals/blob/master/src/Clients/VisualsData/semanticQuery/pri...
The `category.source.type` has to values that determine the real type if you are really interested: the `primitaveType` and the `extendedType`.
Both are enums and a pretty accurate definition is available at:
In case of the screenshot Ignat: the primitiveType is 3 (`Double`) and extendedType 259 (`Double`).
And to determine the difference between a `Double` and `Decimal` is the extendedType property: `259` vs `258`
-JP
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.