Questions tagged [deneb]

For questions about the Deneb custom visual in Power BI. Deneb allows you to create Power BI visuals using the Vega-lite (default) or Vega language. For code questions, include [vega-lite] or [vega] tags on your question.

What is Deneb?

Microsoft Power BI is a data visualization tool. "Power BI comes with many out-of-the-box visuals that are available in the visualization pane of both Power BI Desktop and Power BI service. Many more certified Power BI visuals are available from the Microsoft AppSource."2

Deneb is one such certified custom visual on AppSource. You can download a sample Deneb Power BI file there. Additional documentation on Deneb can be found on GitHub.

Why Deneb?

The amount of customization of the out-of-the-box visuals in Power BI is limited. If you want to do more customization of fonts, colors, formatting, or marks than the visual allows, you have to write your own custom code. Writing custom visualizations for Power BI is hard. They are usually written in D3 using Visual Studio, which is beyond the ability of most data and business analysts.

Deneb solves this problem by allowing you to enter Vega-lite or Vega code from within the Power BI visual. Vega-lite is still code, but significantly more accessible than D3. You can take a sample from the Vega-lite Example Gallery and easily implement it in Power BI even without understanding how the code works! With minimal learning, you can tweak the samples and eventually write your own complex visualizations.

Vega visualizations are highly customizable and interactive, and Deneb allows full integration and cross-filtering with other Power BI visuals. Prior to Deneb, it was difficult to create flashy infographics and high quality visuals in Power BI, especially compared with other tools such as Tableau. With Deneb, Power BI developers can now create beautiful visualizations too.

Finally, Vega is versatile. Vega code can be used not only in Power BI, but also in websites from JavaScript and in Python using Altair. You can develop one custom Vega visual and then use it many different places. Python and R visuals can be used in Power BI, but they are rendered as static images and do not allow the interaction and cross-filtering that Deneb allows. R and Python have huge problems with library versions in Power BI, while Deneb has the Vega libraries self-contained.

112 questions
2
votes
1 answer

Vega-lite tooltip showing False instead of value in Power BI Deneb

I am new to using Vega-lite through Deneb in Power BI. I am creating a bubble chart as a timeline view. I included my code below. The size of the bubbles in based on value, the date is the x-axis, and the prob is the y-axis. Everything works…
2
votes
0 answers

Displaying prediction line using Vega Lite Deneb

I tried to make two area charts using the Deneb visual of power bi and vega lite language. The two area charts present the progress of a measure through the months of 2022 and 2023. What I want to do : 1) Display a forecast line (with dashed line)…
userrr
  • 197
  • 7
2
votes
1 answer

Deneb Visual Area Chart Power BI

I tried to make two area charts using the Deneb visual of power bi and vega lite language. Two things I struggled to do : The values under 1000 (700 for example) I want to display them as 0.7K (The current format doesn't seem to convert them , it…
userrr
  • 197
  • 7
2
votes
1 answer

Convert Vega (Deneb) Gauge to Work in PowerBI

Code: Link For me it seems like the value of "83%" is hardcoded and I want this to adjust based on a Power BI Measure. I feel like I am really missing something, but isn't there a way to import the JSON, adjust the code and then have a dynamic…
S Wai
  • 23
  • 4
2
votes
1 answer

How do I vertically align symbols, so that they align with the y-axis labels?

I'm trying to create a bar and symbol plot which shares the same axes. The issue I am having is that the symbol is aligning to the top of the bar instead of the center. Is this even possible with the configuration options available through vega? I…
2
votes
1 answer

Point chart - two (or more) data rows

I would like to add the average Y-axis values for each X-axis value to a point chart. Is there any way to do this please? I would like to achieve a similar result to the second picture. Expected result is here. Data…
anfafa
  • 33
  • 4
2
votes
1 answer

Faceting a Layered Plot Vega-Lite Deneb

wonder if you could help me out on the below. I´m using Deneb to visualize small multiples in PBI and I´m not able to find out how to add text labels above/below the bar. Does anyone know the workaround by chance? Here´s the code that I´m using so…
tomecsek
  • 107
  • 6
2
votes
1 answer

Power BI Custom Visual Parliament Chart

I Have been given a project to produce a european parliament seating arrangement visual. I have tried to seart on the net without luck. Can anyone sugest any custom visual that look like below?
JonWay
  • 1,585
  • 17
  • 37
2
votes
1 answer

Deneb & PowerBI: Risk matrix Project

I am currently working on a risk matrix in PowerBI which I want to create with Deneb. The goal is a 3x3 matrix that allows cross-filtering. David already gave create support regarding the Vega lite code, however, some PowerBI specific questions…
Fabi Need
  • 57
  • 5
1
vote
1 answer

Is there a way to have a "dynamic" tooltip in deneb?

I have the following chart which pulls data from a file. I then add a filter to the chart to determine which tickers to use and my legend updates accordingly, however, I'm wondering if I can somehow also have my tooltip automatically update, such…
Tom Callan
  • 65
  • 7
1
vote
1 answer

PowerBI Deneb Vega-lite: impute missing values on y-axis

I´m showing an "population" pyramid by age-groups (Altersgruppe). In my dataset there are some missing values for different agegroups for male (männlich) and female (weiblich). Link to File I´d like to impute values (KPI-Set Display=0) for missing…
NaHolla
  • 83
  • 5
1
vote
2 answers

Creating a Date Slider for Vega-Lite Plot in Deneb

I'm working with Vega-Lite (Deneb) to create a line plot, and I need to incorporate a date slider to interactively filter the data displayed on the plot. I have the following plot code that visualizes stock data over time. However, I'm unsure how to…
Tom Callan
  • 65
  • 7
1
vote
1 answer

Faceted Chart, separate into 2 colums, prevent label overlapping (horizontal/vertical)

I have a faceted chart, where labels are overlapping and all charts are in 1 row. I´d like to display the charts in 2 columns and prevent labels being overlapped. potentially overlapping horizontal labels should have a padding of 5px potentially…
1
vote
1 answer

Faceting chart by a column "category"

I have a working bar-chart. I´d like to add an column "categories", which has 8 different values. The barchart should be faceted by the category, so that 8 different charts are shown. current barchart (without the new column): { "$schema":…
1
vote
1 answer

Vega Lite - problem with value labels in Pie chart

I'm in the process of creating an interactive pie/donut chart using Vega Lite. I'm nearly finished, except for an issue with the placement of value labels around the pie chart's slices. They seem to be scattered randomly, and I'm struggling to…
tomecsek
  • 107
  • 6
1
2 3 4 5 6 7 8