Forum Discussion

mati199's avatar
mati199
Regular Visitor
9 years ago
Solved

Columns not recognized when calculating Measure

Hi,

I am unable to calculate a Measure in my table, the formula bar does not present me with a dropdown of my columns and when i type them in manually i recieve an error saying that the columns cannot be determined. Yet this is not the case for calculated columns where it works fine, even if i copy the same formula for the Measure.

Is there anything I might be missing?

  • OK, i quickly figured it out just after posting this.

    I needed to enter an aggregation function in the formula.

    In my case i wanted to divide one column by another, so i did sum(column1)/sum(column2) and it works.

     

    Cheers

2 Replies

  • mati199's avatar
    mati199
    Regular Visitor

    OK, i quickly figured it out just after posting this.

    I needed to enter an aggregation function in the formula.

    In my case i wanted to divide one column by another, so i did sum(column1)/sum(column2) and it works.

     

    Cheers

    • sixtoquiles's avatar
      sixtoquiles
      Helper II

      Just to know, PowerBI can't calculted using just the headers name?