Forum Discussion

Andrelele's avatar
Andrelele
Frequent Visitor
1 year ago
Solved

Power BI Custom Visual with React - Issue with component.tsx and update()

hello dear people,   in Power BI Custom Visual I try to develop a table with React and Tailwindcss. I followed along a tutorial from Microsoft to create a react-based custom visual. https://learn....
  • dm-p's avatar
    1 year ago

    Hi Andrelele,

     

    The tutorial uses the single mapping (as defined in this step). This only ever returns a single value, as would be expected for something like a card.

     

    If you want your visual to retrieve more data, you will need to choose the appropriate mapping type, define it in your capabilities and then extract and map using your code. Depending on you you want your visual to work, table might be the easiest one to start with in terms of understanding how data is sent and how you need to process it.

     

    Good luck!

     

    Daniel