I’m making a Report for a customer. The data is in Historian. I have made basic reports before using the designer but I’m not very good with SQL.
I need a query that will grab the data for multiple flow meters , grouped totals by hour and total by day.
Any help would be greatly appreciated.
Ok, so I read the [system.tag.queryTagCalculations] and the [system.tag.queryTagHistory] and that look like what I need. How would I , or can I use this in the Reports designer or do I need to create a table on a Vision page and execute there?
I think I'm getting closer, there may be a syntax or format error because the dataset doesn't show up in the Designer data sources. (Thanks again for your help)
Tip: post code rather than pictures of code. Use the </> code formatting button to preserve indentation and apply syntax highlighting. That way we can copy and edit it in our answers.
Your problem is the first line , you are overriding the data variable used for the data sources. Do not use data in report scripting sources except to add keys and values to it like