Forum Discussion

ehartanto's avatar
ehartanto
Frequent Visitor
5 years ago
Solved

Multiple Number Format in the Same Column

Hello,    I am having difficulty having multiple number formats in the same column. I had it in the same column for drilling down and filtering purposes from different entities. For example, here i...
  • Anonymous's avatar
    Anonymous
    5 years ago

    ehartanto 

    You can create a measure with multiple format.

    Measure = SWITCH(MAX('Table'[Metric]),
    "Occupancy",FORMAT(SUM('Table'[Amount]),"Percent"),
    "% Margin", FORMAT(SUM('Table'[Amount]),"Percent"),
    SUM('Table'[Amount]))


    Paul Zheng _ Community Support Team
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.