Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1360
Use string indexers as measures
posted

Like your newly released version of the xamgrid I would love to be able to use string indexers for measures within the xampivotgrid (which is great BTW and was desperately needed).

Is there anyway to manually add measures for the flatdatasource that would allow the pivotgrid to display data from a collection of data on a data class?

Thanks in advance for any tips.

Doug

Parents
No Data
Reply
  • 7922
    posted

    Hi Doug,

     

    The flatdatasource is designed to work with table structured data. This means that it analyze data row by row and is not predicted to analyze relational data.

     

    I will give you a sample. If you have 3 tables in your database: Seller, Product and Sale, you have to make a view on these 3 tables and join them together. After that you put the view to the flatdatasource for analyst.

     

    If you describe your case in more details may be I will be able to give you a more specific advice.

     

    Regards

    Todor

Children