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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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