Forum Discussion

aflintdepm's avatar
aflintdepm
Icon for Helper III rankHelper III
1 year ago
Solved

Can't use a column in a variable

I am trying to create a measure using a variable.  I want the variable to take the value from a column in the same table, so relationship shouldn't be an issue.

 

When I try to create the variable, the suggested column list suggests almost every column EXCEPT the column I want to use.  If I manually type out the column (with table) it is not recognized.  The column is a non-unique number value, but I need it to calculate per row.  

 

 

What are the steps to take to figure out why I can't access this column as a variable?  Most other columns in this table are available to me

 

3 Replies

  • measures need aggregations like MAX() or SUM()

    • aflintdepm's avatar
      aflintdepm
      Icon for Helper III rankHelper III

      I've learned that, but I was only trying to write a variable- any suggestion for why it won't let me use a number column as a variable input?

      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper User

        the same rules apply to variables inside a measure.