Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
aflintdepm
Helper III
Helper III

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.  

 

aflintdepm_0-1734021758214.png

 

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

aflintdepm_1-1734021817887.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

measures need aggregations like MAX() or SUM()

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

measures need aggregations like MAX() or SUM()

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?

the same rules apply to variables inside a measure.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.