Forum Discussion

DW868990's avatar
DW868990
Helper IV
3 years ago
Solved

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...
  • dm-p's avatar
    2 years ago

    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