Hi,
I've created this custom visual wrapper of ag-grid ('the best javascript grid in the world' apparently), as first foray/investivation into custom visual development
https://gitlab.com/nite2/powerbi-ag-grid
It's pretty bare-bones currently, only using the table data mapping - which doesnt allow the dashboard developer to control the powerful row grouping & pivoting that ag-grid provides. I had a crack at using the matrix data mapping, however it is clearly built without open community custom visual devs in mind, eg with lack of documentation and posts like this:
https://community.powerbi.com/t5/Developer/Need-Help-understanding-Matrix-dataMapping/td-p/225967
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?
If you add the grid (published into the dist folder in gitlab) then you should see a columns sidebar in the grid itself, which should allow you to play with the grid pivot, or just go to https://www.ag-grid.com/example.php
Hello everyone, has anyone had any luck with getting report / page-level filters for their custom visuals made with TypeScript? I have read through the docs & am not seeing any of the functions in my powerbi-client object reference... For example,
import * as pbi from 'powerbi-client';
var report = pbi.Report;
var filters = report.getFilters(); //report does not have a function getFilters()
Any ideas?