microsoft / microsoft/powerbi-visuals-api

Method update on Visual does not work when all fields are removed from dataview

Open
#69 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
108
Forks
48
PR merge metrics
No merged PRs in 30d

Description

When adding or removing fields into/from dataview the update method triggers as expected but when the last field is removed from dataview the update method does not trigger.

Tested using the following specs:
powerbi-visuals-api: 5.4.0

Tested on the following environment:
Custom Visual for PowerBI using TypeScript provider for rendering
*When Custom Visual is using R provider then the r script is triggered even on last field removal

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with powerbi-visuals-api 5.4.0 in a TypeScript custom visual, adding and removing dataview fields until the final field is removed. Compare the update method behavior with the R provider. Done means the update method triggers consistently when the dataview becomes empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.