Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.