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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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.
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 the pbiFormat
function, or using the pbiFormat
custom format type.
[measure_name]__formatted
- the measure value formatted according to the format string in the same row.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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 the pbiFormat
function, or using the pbiFormat
custom format type.
[measure_name]__formatted
- the measure value formatted according to the format string in the same row.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |