cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Jeffery24 Regular Visitor
Regular Visitor

Use parameter value as custom column

 

Hi,

How would I pass a parameter as just a number in an added column.

For example if parameter is set at 0.85Test.jpg

How would I add the value of the parameter as column value?

 

Test.jpg= Table.AddColumn(#"Added Custom1", "Vendor KPI", each 0.85)

Thanks for your help. 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Use parameter value as custom column

@Jeffery24

 

= Table.AddColumn(#"Added Custom1", "Vendor KPI", each #"Vendor KPI")
3 REPLIES 3
Super User
Super User

Re: Use parameter value as custom column

@Jeffery24

 

= Table.AddColumn(#"Added Custom1", "Vendor KPI", each #"Vendor KPI")
Jeffery24 Regular Visitor
Regular Visitor

Re: Use parameter value as custom column

Hi,

 

Thanks for quick reply. I tried a similar format earlier but keep getting a "Token Comma Expected" error.Capture.JPGIs it expecting "" around the Vendor KPI parameter or brackets because it has a space in the name? When i tried it just listed it as a string result not the value. Thanks

 

 

 

Jeffery24 Regular Visitor
Regular Visitor

Re: Use parameter value as custom column

Hi,

 

Sorry missed the # sign! Works great. Thanks