Questions about Power BI custom visuals: their development, capabilities and usage. Power BI is a self-service analytics tool. Custom visuals are visualization plugins for Power BI, written in TypeScript or JavaScript using the Custom Visuals SDK.
Questions tagged [powerbi-custom-visuals]
389 questions
2
votes
1 answer
Passing parameters in Power bi Filters using java script
We have a web application in which we have embedded Power BI reports.
We are using Direct Query mode for connecting to AzureSql DataBase.
Our Database has DateTime values stored in UTC format. We want users to see these data values in their local…

Aman Garg
- 21
- 3
2
votes
1 answer
How to have GIF image with action in Power BI?
I like to have GIF image in Power BI report along with action for that image. Whenever I tried to import GIF image from the local system it becomes a static image.
For Eg., I have a couple of report page for analysis dashboard. I need to have Next…

Wanna Coffee
- 2,742
- 7
- 40
- 66
2
votes
0 answers
Error:Tapable.plugin is deprecated. Use new API on `.hooks` instead
I want to create a Custom Visual on powerbi but get error after I run pbiviz package command on cmd.
(I followed the guide on https://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1)
Related Package…

KEID07
- 71
- 1
- 11
2
votes
1 answer
Can Power BI custom visuals accept keyboard focus?
I am trying to create a custom slicer that supports keyboard navigation.
I have come across the supportsKeyboardFocus property in capabilities.json, and I see that this changes the visual HTML element to look like the built in slicer which does…

lgaud
- 2,430
- 20
- 30
2
votes
0 answers
Power BI Custom visual for HeatMap
I am using a HeatMap custom visual from "https://github.com/sjkp/heatmap/releases" and trying to change the radius of heatmap based on a measure, for example
Name Duration
A 20
B 200
C 60
D 90
E 100
The heatmap…

user1102362
- 41
- 3
2
votes
2 answers
Power BI: Drillthrough in Custom Visual?
Is drillthrough supported in a Power BI Custom Visual?
If so, could you please provide a snippet of your visual.ts file to show how it's to be used? I've been searching for documentation on it and nothing has turned up - I'm beginning to think its…

FirstRedPepper
- 452
- 5
- 20
1
vote
1 answer
Category and subcategory tables in power bi matrix visualization
I am looking for help to create a matrix visual in Power bi. I have several lookup and data tables.One of the sample table is
Table
Name|Category|Sub-category|data
A | Type1 | Sub1 | 3
A | Type1 | Sub2 | 4
A | Type1 |…
1
vote
1 answer
Displaying a count of certain text on a Card visual in PowerBI
I am creating a report in Power BI, which is fetching data from an Excel Sheet. In that Excel sheet one of the columns is the "Status" which is either "Completed", "Not Started" or a percentage as shown below:
What I actually want to do is to have…

mkumars
- 501
- 3
- 9
- 19
1
vote
0 answers
Extract PowerBI Measure "Definition" from Metadata
When you drop a measure in to a PBIviz, you can access the values, names, groups, etc. of that dataView.
Is there part of the metadata that contains the DAX definition? Or even better access the metadata of the report its self? ( ie. MeasureName =…

Frostytheswimmer
- 720
- 4
- 19
1
vote
1 answer
Power BI - Calculate average for measure with selected values
I have a table with dataset, I need create visual with slicers over time, where i can select 1st item and 2nd item and calculated delta between them.
I’ve done that by create 2 tables with Dax
test_item_1 = values('tbl_data'[Item])
test_item_2 =…

Roma P
- 21
- 3
1
vote
0 answers
How to determine the aggregation type of a measure field in a Power BI custom visual
I am using a measure field in my custom visual and want to display its aggregated value. However, when inspecting the dataview object, I noticed that the aggregates are always minLocal and maxLocal, and the queryName is always set to "Sum(...)" even…

Rahul Roy
- 275
- 1
- 10
1
vote
1 answer
Power BI get dynamic serial quarter number for date
I have the following data in power BI
declare @tbl table (Dates date)
insert into @tbl…

JonWay
- 1,585
- 17
- 37
1
vote
0 answers
PowerBI Custom Visual with ChatGPT
I am developing a custom visual into Power BI using TypeScript. I have an input of type text for user input prompt and an input of type text for ChatGPT answer. The idea is that the user can ask anything about report's data or any report's visual…

Stavros Koureas
- 1,126
- 12
- 34
1
vote
1 answer
How to prevent the full tree rendering again and again when a node is clicked? Power BI custom collapsible tree using typescript and d3
I am working on a collapsible tree for power bi custom visual. I want to implement a toggling functionality that would allow me to drill up or down a node when I click on it. Below I have provided my current code for rendering a tree and an other…

Hammad Ahmed
- 21
- 2
1
vote
1 answer
Vega Lite (deneb) is showing a second x axis on my bar chart
I have a bar chart with bars stacked over each other that is using two separate x-axis. I have each separated axis to be positioned to where one axis is on the bottom of the chart and one is on the top.
Here is the chart in it's current…

mschaefer56
- 13
- 3