Forum Discussion

IF's avatar
IF
Post Prodigy
6 years ago
Solved

negative value in bracket

Hi, I have a column that is called "project". its format is decimal number. I want to show negative values with brackets. I tried to make a measure (Measure=FORMAT([Project];"##,###;(##,###);-") Th...
  • Tahreem24's avatar
    Tahreem24
    6 years ago

    IF ,

    What is [Project] exactly? Is it Measure or just a fields or Calculated column?

    If it is field from table so try to use aggreagation like SUM,MAX etc.

     

  • Tahreem24's avatar
    Tahreem24
    6 years ago

    IF ,

    Use the below DAX:

    MEASURE = IF(SUM(Sheet6[Value])<0,"("& SUM(Sheet6[Value])&")", SUM(Sheet6[Value]))