--- title: "Build a PV Grid with Tag Aggregates" slug: "build-a-pv-grid-with-tag-aggregates" updated: 2024-01-29T13:15:39Z published: 2024-01-29T13:15:39Z canonical: "kb.dataparc.com/build-a-pv-grid-with-tag-aggregates" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.dataparc.com/llms.txt > Use this file to discover all available pages before exploring further. # Build a PV Grid with Tag Aggregates **Purpose:** Learn how to use the PVGrid to show current values alongside aggregates for a set of tags. **Task:** Build a grid that shows the following information for three tags: description, current value, time average over last hour, time average from start of current production day to now, and time average over last full production day. **Steps:** 1. Add a PVGrid to the canvas. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image040_017.jpg) 2. Resize the grid. Add three more rows and four more columns. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image042_014.jpg) 3. Widen the first column, then switch it to fixed width mode. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image044_012.jpg) 4. Hold Shift, then click and drag from the top left cell to the bottom right cell to select all of the cells. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image046_011.jpg) 5. Use the font alignment tools on the **Edit** tab to center the text in the cells. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image048_011.jpg) 6. Double-click in the grid to make it the active layer (notice orange border). ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image050_011.jpg) 7. Double-click the text within a cell to edit it. Make the following column headers: **TAG, CURRENT, LASTHOUR, TODAY, LASTDAY**. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image052_011.jpg) 8. Open the Tag Browser and choose three tags. For each tag, add it to every column within a row. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image054_009.jpg) 9. For the text blocks in the Tag column, change the Value Type to **Description**. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image056_009.jpg) 10. For the text blocks in the LastHour column, change the Read Mode to **Aggregate FromNow**. (Remember to expand the UTag section at the top). Leave the Aggregate and Read Span with their default values to get a time-weighted average over the last hour. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image058_009.jpg) 11. For text blocks in the Today column, change the Read Mode to **Aggregate FromPeriod**. Change the Period Type to **Production Day** (note: the Production Day period type must be configured in [System Configuration](/v1/docs/interface-time-periods)). Leave the Period Offset at **0** to see the time-weighted average from the start of the production day up until now. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image060_009.jpg) 12. For text blocks in the LASTDAY column, change the Read Mode to **Aggregate FromPeriod**. Change the Period Type to **Production Day**. Change the Period Offset tot **-1** to see the time-weighted average over the last full production day. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image062_008.jpg) 13. Click **Run** to test. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image064_006.jpg)