Forum Discussion

brunozanoelo's avatar
brunozanoelo
Post Patron
9 years ago
Solved

How can i Format the value?

Following this article: https://community.powerbi.com/t5/Desktop/How-to-change-measure-value-using-parameters/td-p/46011 Variable Calculation = VAR Costs = SUM ( Sales[Cost] ) //Change with...
  • CahabaData's avatar
    9 years ago

    There would be no way to comingle differing field types within a DAX result field (...that I can think of...).

     

    Instead one would have math only in your primary field, then include a 2nd field/column with a Type indicator value/flag.

     

    Then one could calculate a 3rd column/field that creates a text value (because R$ symbols) based upon these 2 field values.

     

    ....and this is just thinking out loud - - could be more issues when it comes to implementation logic.....