microsoft / microsoft/powerbi-visuals-api
Method update on Visual does not work when all fields are removed from dataview
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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