Hello. Has anyone implemented a dynamic pivot with LINQ that provides me with clearer information to do it and if possible how to export to Excel? I am working with C# LINQ Webapi MVC.
Hello. Has anyone implemented a dynamic pivot with LINQ that provides me with clearer information to do it and if possible how to export to Excel? I am working with C# LINQ Webapi MVC.
There is an extension method you could apply
pivot extension
As you will see from an entity
you can select by which properties to change order
or else select another property to pivot
In this way the pivot works for me, I still need to export to excel from the mvc client to the web api.