{"ref":{"kind":"component","id":"last_positive_month","key":"sha256:ff05a9f86901c78e3849a15c2e016c91d9998be6d2edd0980ab77eedd639b16d"},"label":"Last Positive Month","description":"Find the final month with a positive currency value, or zero when none exists.","inputs":[{"label":"Values","name":"values","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Month","name":"month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}}],"dependencies":[],"libraries":["last_positive_month"],"notes":{},"calculation":{"nodes":[{"id":"input-values","label":"Values","kind":"input"},{"id":"output-month","kind":"output","label":"Month","rule":"((Lowest value(if (Values > 0), then (Positions in series(Values) × -1), otherwise 0) × -1) × 1)","sources":[{"node":"input-values"}]}],"topics":[{"label":"Last Positive Month","results":["output-month"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"},{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"},{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
