Output from Query from Excel wrong ?


Badge +2

I use query from excel as below.

 

25793iBF10092265542D60.jpg 

output show blank.

 

But if I have as below. output as true.

 

25794iAEFA184EC8841ADE.jpg 

But want use variable in where clause.

 

Please guide me about it.

 

 

 


6 replies

Hey there!

 

Please use the following in your where clause:

 

[Material] = '@Mat_value'

 

That should work.

 

Kind regards,

Theo

Badge +2

Same output (blank)

Badge +2

How to solve it?

Could you perhaps attach a copy of the Excel file? Then I can test it and find a solution (it needn't be the whole file; maybe just an abbreviated copy with confidential information etc. removed).

Badge +2

File input as attached.

 

Thank you.

Please see the below solution (screenshots). This works! Please note that you set the wrong data type (CHAR) in your test (CHAR is only a single character). Just use the below and you're good to go:

 



Reply