Creating a Custom Report for trending Operating System used on the website. Using SXP v8.2 Update 2 as my instance.
Write a custom Dimension that collects data about the Operating System data from Analytics such as the name and major version. Similar to the code below. Compile and deploy this to your Sitecore instance