Forum Discussion

aloxaz's avatar
aloxaz
Frequent Visitor
2 years ago

Can not convert the value to type Table.

Guys,

 

I have merged to tables together and I tryied to get the value from the second table based on date range.

However i m getting an error of "We cannot convert the value 5.5 to type Table". The number "5.5" seems to be the corrected value i want to get.

 

Code:

 

 

 #"Added Custom1" = Table.AddColumn(#"Expanded Price List", "Custom", each Table.SelectRows([Price List.Tarief],each [Date] >= [Price List.SDate] and [Date] <=[Price List.EDate])),

 

 

Any ideas what i m losing?

1 Reply