Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am happily using powerbi node api for getting reports, datasets, for uploauding reports etc.
But seems like it doesn't work with RLS and powerbi-node?
I am trying to pass user and roles and get correct token, but visuals are not displayed at all, getting error like - visual can not be displayed.. Dashboards without RLS works perfect using this method.
Maybe I am doing something wrong, here is code snippet I am using:
app.get ('/jwt/:collection/:workspaceid/:report_id/:user/:role', function(req,res) { var param = req.params; var token = powerbi.PowerBIToken.createReportEmbedToken(param.collection, param.workspaceid, param.report_id, param.user, param.role); var jwt = token.generate('fubar'); res.send (jwt); })
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
5 | |
4 | |
4 |