I am trying to get multiple reports generated inside a single for-each iteration. Specifically, I would like a line graph of total CPU for the busiest business day for a selected server as well as a stacked-bar graph of the top 10 workloads for the same day. I am using the code below:
<for-each item="system-dates" filter-type="none"><br/> <topbottom-filter type="points" location="top" count="1"><br/> <!--summarize-series type="AVERAGE"--><br/> <date-filter days="Weekdays" hours="Business Hours" include="true"><br/> <threshold-filter limit="101" include="below"><br/> <get-data metric="/common/CPU/CPU Utilization" /><br/> </threshold-filter><br/> </date-filter><br/> <!--/summarize-series--><br/> </topbottom-filter><br/><br/> <!-- $9 Server Busiest Business Hour Chart showing full day<br/> --><br/> <chart title="Busiest Business Hour for $object0 occurred $start.format(&quot;dd MMM yyyy&quot;)" legend="bottom"<br/> interval="data" type="line" scales="0-100" y-labels="Total System CPU Utilization" x-label="Hour of Day" ><br/> <threshold-filter include="above" limit="0"><br/> <date-filter days="Weekdays" hours="Business Hours" include="true"><br/> <threshold-filter limit="101" include="below"><br/> <get-data metric="/common/CPU/CPU Utilization" object="$iterator" interval="$iterator"/><br/> </threshold-filter><br/> </date-filter><br/> </threshold-filter><br/> </chart><br/><br/> <!-- $10 Top 10 Workloads During Busiest Business Hour showing full day<br/> --><br/> <chart title="Top 10 Workload CPU Utilization for $object0" type="stacked-bar" display-data="true" interval="data"><br/> <date-filter days="Weekdays" hours="Business Hours" include="true"><br/> <range-filter range="5-95" type="percentiles" include="true"><br/> <get-data metric="/common/Workloads/CPU Utilization/Top 10" object="$iterator" interval="$iterator"/><br/> </range-filter><br/> </date-filter><br/> </chart><br/><br/> </for-each>
However, this is giving me the message "Data Driven statements must have two inputs!". When I include only one of the charts, it works perfectly. What am I missing here?
