I was recently assigned to export Azure Analytics data to and Excel worksheet using EPPlus. My goal is to create a pivot table in that worksheet.
After the query is executed on the application insights API i get back an array or tables (always 1) each table has rows and 3 columns
each row contains a date, string (service name), and an optional double. This is the data i receive but with column labels added I quickly made something in excel to show what I'm after i hope this gives a rough idea of what i want to create
I'm currently running a foreach loop for each row in the table this is very messy and not practical it seems.
Do any of you have some tips for me or know how to do this?
I already looked around in the documentation but it seems like it's still a work in progress
...Work in Progress... PivotTables can be created via the PivotTables property in the ExcelWorksheet class. Pivot charts are added as nomal charts via the AddChart method in the Drawings Collection as descibed earlier. The pivottable is added as argument tree of this method.
it could be that i read over something, if I did; would you be so nice to link me to it?
edit: removed external website links