cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
michaelsparrow Helper I
Helper I

Columns not coming up in formulas

Hi,

 

When I click 'New Measure' the columns don't come up in the formula when i click '[' or '''. 
They do when i click 'New Column'.

 

Why is this?

 

Cheers

1 ACCEPTED SOLUTION

Accepted Solutions
Super User I
Super User I

Re: Columns not coming up in formulas

measures expect some sort of aggregate function because it is not stored at the row level.  New columns would add a value for each row.  Measure just sum up, or get the max or min or a distinct count.   In order to get a column into a measure you to work you need to apply an aggregate function to a column or call on another calculated measure.


Did I answer your question? Mark my post as a solution.
Proud a to be a Datanaut!

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Columns not coming up in formulas

Hi @michaelsparrow,

 

>>When I click 'New Measure' the columns don't come up in the formula when i click '[' or '''. 

Measure calculate value, it not support direct calculate with column value. You should polymeric them to get value.(e.g. sum(table[Column]), max(table[column])

 

I'd like to suggest you take a look at below link about how to use measure.

Tutorial: Create your own measures in Power BI Desktop

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI
Super User I
Super User I

Re: Columns not coming up in formulas

measures expect some sort of aggregate function because it is not stored at the row level.  New columns would add a value for each row.  Measure just sum up, or get the max or min or a distinct count.   In order to get a column into a measure you to work you need to apply an aggregate function to a column or call on another calculated measure.


Did I answer your question? Mark my post as a solution.
Proud a to be a Datanaut!

View solution in original post

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We've launched a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Top Solution Authors
Top Kudoed Authors