I am using an older version of the powerbi-javascript-api. I did not saw any release notes on github about this feature. My current js-api does not support this feature. before i try ...
v-yuta-msft
Community Support
6 years agoMuesli ,
Have you try the api playground?
https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#
Regards,
Jimmy Tao