Showing results for 
Search instead for 
Did you mean: 

Custom DataGrid with Matrix Data Mapping

This is a cross-post from StackOverflow, as the developer has been stuck trying to create an account in the Power BI Community.


The full post link is below, but in essence the question is:


"Can anyone suggest a decent resource to quickly understand the matrix mapping, so I can map it into something simple & useful for ag-grid to consume (in the form of ag-grid ColumnDefs)? Or another open-source example of a matrix data mapping custom viz with some example javascript manipulation of the matrix dataview?"


I've offered a bounty to try to help this along, it will help a range of environmental/conservation projects.  If you can help us get unblocked, you will literally be helping to save the planet :-) 

dm-p Established Member
Established Member

Re: Custom DataGrid with Matrix Data Mapping

Hi @mike_honey,

I have a little bit of experience with the matrix dataViewMapping, but I'm not in a position to be able to spend much time advising on any specifics until sometime next week due to various other commitments, so I'll provide a couple of quick links.

Firstly, have you tried the doc? I don't see it mentioned in either post, but this is what I referred to to figure it out.

Secondly, I have used the mapping in one of my custom visuals - Small Multiple Line Chart. Here's the link to the dataViewMapping configuration in the repo, and here's where I map the dataView to my view model.

Hopefully this might help a small amount.

Good luck!


Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 44 members 919 guests
Please welcome our newest community members: