This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

trend export via csv
#4
Hi,

Trenddatamonth is the result of the trend.fetch on line 133 and this is (or should be) a table you get back from the trend. 

Are you sure you have used the correct trend name?

See line 30 to 37:

--Set export mode (selected trend(s) or all trends)
export_all = true

--Set trend names if not all trends need to be exported (only used when export_all = false)
trendnames = {
  "Total Electric Usage",
  "Total Water Usage",
  "Total Gas Usage",
}

If export_all = false then the table trendnames will be used, so those should match your trend names

BR,

Erwin
Reply


Messages In This Thread
trend export via csv - by PassivPluss - 19.10.2016, 19:12
RE: trend export via csv - by PassivPluss - 19.10.2016, 20:03
RE: trend export via csv - by Erwin van der Zwart - 19.10.2016, 20:14
RE: trend export via csv - by benanderson_475 - 10.12.2019, 19:39
RE: trend export via csv - by Gadjoken - 19.09.2022, 07:43
RE: trend export via csv - by Trond Hoyem - 16.01.2023, 14:03
RE: trend export via csv - by admin - 16.01.2023, 14:12
RE: trend export via csv - by Trond Hoyem - 16.01.2023, 14:18
RE: trend export via csv - by admin - 16.01.2023, 14:20
RE: trend export via csv - by Trond Hoyem - 16.01.2023, 14:31

Forum Jump: