Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Ravi_Nagmal
Contributor III
Contributor III

Incorrect fieldvalue is getting fetched while using Fieldvalue() function

Hi All,

I have encountered an issue while using the Fieldvalue() function.

I am attempting to utilize metric logic from an Excel sheet as a variable using the Fieldvalue() function. For instance: Fieldvalue('Metrics', 100) provides the correct value from row 100. However, when I input row number as 260, the function returns values for the 258th instead of 260th rows, which is not the expected behavior.

Please help me it is very urgent.

3 Replies
anat
Master
Master

Fieldvalue will display the values as per load order,

so can you make order by in load script then check the output.

Ravi_Nagmal
Contributor III
Contributor III
Author

@anat Thanks for your prompt reply but with order by also it is not working.

sharing screenshot of actual issue, It is getting shifted two rows above the actual ones.

Ravi_Nagmal_0-1691669613351.png

 

 

marcus_sommer

fieldvalue() queries the distinct stored field-values from the system-tables - there is no relation to any table and there are only distinct values. If you want to query against a table you could use peek() for it.