Forum Discussion

absmiths's avatar
absmiths
Regular Visitor
8 years ago
Solved

Accessing row data from table or matrix data view mapping.

I think this is a very basic question, but I am trying to process the data in a custom visual, and I can't figure out how to get it!  I have data roles defined thusly (mostly from guessing and lookin...
  • v-viig's avatar
    8 years ago

    Please use table data-mapping instead of matrix since you need to rows only and there's no need to generate a hierarchy.

     

    Please use options.dataViews[0].table.rows to enumerate data-rows.

    You can console log the data view object to understand its structure deeper.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]