I am working on setting up a Status Chart to display machine status with Date Time selection. The data is in a database table. Here is the values and there meanings 0 = bypass, 1 = running, 2 = fault and 3 = Idle. I try running the query and returning just the status but it doesn't return any data. If I try returning everything in the table, it shows data but is not what I actually need. Where am I going wrong with this component.
Query 1 (Which is what I think I need to make this work but doesn't return any data on the status chart
Select Status from IngStacker
where DateTm between '{Root Container.StartDate.date}' and '{Root Container.EndDate.date}'
Query 2 (Which returns data from each column in the table, but is the only way I can get it to display any data.
Select * from IngStacker
where DateTm between '{Root Container.StartDate.date}' and '{Root Container.EndDate.date}'