microsoft / microsoft/powerbi-visuals-api

Drill-down support do not work as expected

Open
#60 2 comments 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

Hello,
I'm having an issue with the drill-down support. I have created an Hierarchy as described in the documentation and I'm using some measures. Specifically the measures check which level is filtered and some the desired value. In a default bar chart it works as expected.

The issue comes in my custom implementation which changes the labels only the first measure data and not for the rest. The field setup can be shown below:

image

I cannot find anything on the documentation or in Google. Any ideas? Is it a bug? Or it's my code?

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 reported hierarchy and measure setup in the custom implementation, then compare its label handling with the default bar chart behavior. The issue provides no source files or tests; done means determining whether the custom implementation or the Power BI custom visuals API causes labels to update only for the first measure, and documenting the finding.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.