- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Deneb - Vega Lite Format String
Hi,
I have a deneb visual in which I am using Vega Lite, I need the measure in the visual to show the dynamic format string that is set for this measure within pbidesktop, is this possible to set within the vega lite visual, for it just to use the existing format string for the measure? so its not defined within the vega lite. If so, any advice on the syntax for this would be great, thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @DW868990,
This functionality was introduced in 1.6, and because formatting strings are contextual, each measure in your dataset will now have two additional columns in the dataset for each row:
-
[measure name]__format
- the format string for the measure. This is in case you need direct access to it for use in thepbiFormat
function, or using thepbiFormat
custom format type. -
[measure_name]__formatted
- the measure value formatted according to the format string in the same row.
Regards,
Daniel
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @DW868990,
This functionality was introduced in 1.6, and because formatting strings are contextual, each measure in your dataset will now have two additional columns in the dataset for each row:
-
[measure name]__format
- the format string for the measure. This is in case you need direct access to it for use in thepbiFormat
function, or using thepbiFormat
custom format type. -
[measure_name]__formatted
- the measure value formatted according to the format string in the same row.
Regards,
Daniel
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
12-19-2024 10:16 AM | |||
06-12-2024 01:07 AM | |||
01-20-2023 01:04 AM | |||
11-02-2023 08:15 AM | |||
04-27-2023 09:09 AM |