The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi everyone!
Do we have the possibility to enable/disable the switcher (Column subtotals) in format panel programmatically? After that, it should make an API call to powerbi.dataView and rerender the table.
Solved! Go to Solution.
Hi @Anonymous,
You can use persistObjectProperties on the visual host to do it. You send a VisualObjectInstancesToPersist object containing the object/property(ies) you wish to update and the visual host will set them and trigger an update/re-query (as any property change will do this), which would satisfy your requirement of updating the dataView.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous,
You can use persistObjectProperties on the visual host to do it. You send a VisualObjectInstancesToPersist object containing the object/property(ies) you wish to update and the visual host will set them and trigger an update/re-query (as any property change will do this), which would satisfy your requirement of updating the dataView.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)