Forum Discussion

ClaraBcn's avatar
ClaraBcn
Frequent Visitor
2 years ago
Solved

Dynamic formatting field parameter (abs/%)

Dear network,   I have 3 field parameters with the same measures inside them. I.e: Main scenario with A23, A22, A32, B24, etc and Comparsion scenario 1 & 2 with the same measures inside. Goal of t...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi ClaraBcn ,

    Please try to use Dynamic format strings for measures. With dynamic format strings for measures, you can determine how measures appear in visuals by conditionally applying a format string with a separate DAX expression.

     

    When using dynamic format strings, the measure keeps its data type and isn't forced to change to a string data type. This applies different format strings to the measure depending on the context.

    More details: Create dynamic format strings for measures in Power BI Desktop - Power BI | Microsoft Learn

     

     

    How to Get Your Question Answered Quickly - Microsoft Fabric Community

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.