Forum Discussion

ovetteabejuela's avatar
ovetteabejuela
Impactful Individual
9 years ago
Solved

New Measure | Not behaving Accordingly?

To make sure I am on the correct table I clicked on the synopsis (...) right beside the table name I want to create a measure on... but when I did this "New Measure Column Name" = FORMAT(    - and wh...
  • Sean's avatar
    Sean
    9 years ago

    Anytime you create Measures you need to aggregate the columns you want to reference.

     

    What is happenning is - Intellisense is helping you by not letting you select a Column without you aggregating it somehow first!

     

    Look at this example...

     

    Measure with FORMAT =
    FORMAT ( SUM ( Table[Gross] ) - SUM ( Table[Tax] ) - SUM ( Table[Deductions] ), "Currency" )

     

    When you create a Column because it will be evaluated on every row there's no need for aggregation

    (you can of course aggregate also depending on what you want the result to be)

     

    Hope this helps!:smileyhappy: