Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I'm trying to get rows in an infotable that have empty datetime fields. The following is the code for the query, but I'm unable to get any results. When I log the values of the empty datetime fields with logger, it says the value is undefined. I've tried using various falsy values as the value, but it did not work.
let query = {
"filters": {
"type": "EQ",
"fieldName": "SomeDate",
"value": "" // <--- have tried various falsy values (false, 0, -0, "", '', null, undefined, NaN)
}
};
result = Resources["InfoTableFunctions"].Query({
t: result /* INFOTABLE */ ,
query: query /* QUERY */
});
Solved! Go to Solution.
Solved. I was able to get the rows with empty datetime fields using the query parameters below:
let query =
{
"filters": {
"type": "MissingValue",
"fieldName": "SomeDate"
}
};
More query parameters here:
Solved. I was able to get the rows with empty datetime fields using the query parameters below:
let query =
{
"filters": {
"type": "MissingValue",
"fieldName": "SomeDate"
}
};
More query parameters here: