Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |