We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |