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
0
votes
1 answer

Vega-lite reference line label for today's date

I have a timeline bubble chart (shown with dummy data) with a reference line for the current date. I want to add a label for the reference line that just says "today's date". When I try to add one it adds a label with today's date to every bubble.…
Alyssa
  • 21
  • 1
0
votes
0 answers

Power BI Tooltip Toggle On w/ Deneb Custom Visual

enter image description here I want the tooltip to be toggled on inside of my deneb custom visual instead of a mouse hover option. The reason is that I have a link I can't click inside of the tooltip because when I move my cursor away, the tooltip…
0
votes
1 answer

VEGA LITE calculate filter to evaluate result on non-blank values

I am facing some troubles in Vega Lite while trying to achieve the following: I want to extract the minimum value from three measures, which works fine until one of the measures is blank - then it takes NULL as the minimum value. I would like the…
0
votes
1 answer

Vega-lite Deneb: Local time to UTC Time

I am working on a Power BI project where I need to bring time from different timezones. Please see the below image. example of my goal In order to do this, i need to use the utc time as my starting point and then do the offsets (-3, +5 etc). This is…
0
votes
0 answers

Vega-lite Deneb: How to make labels more readable on bubble chart

I have a bubble chart on Power BI that I made using the Deneb visual in Vega-lite. I am new to Vega-lite so I'm still learning. I want each bubble to have a label with the title for that row. However, I want to make it so the labels don't overlap if…
Alyssa
  • 21
  • 1
0
votes
0 answers

Nested subplot do not align well in PowerBI Deneb

I tried to make a nested scatter chart using Deneb in PowerBI (Sample Chart), I found that the subplot size will follow the maximum subplot (in this example, subplot B has 4 weather types and subplot A has 3). I tried "align" : "none" but it did not…
CLW
  • 1
  • 1
0
votes
0 answers

Power BI Deneb Edge Bundling visual

I'm trying to re-create this visual in Power BI with Deneb, my input data is similar to the sample from https://vega.github.io/vega/examples/edge-bundling/ What should I update in the code to change data sources to xlsx on my PC? Because in the…
0
votes
0 answers

Pie charts on a grid with conditional colors

Accountants in my organization are asked to reduce the amount of activities by performing medium-risk activities only quarterly instead of every month and low-risk accounts only annually (or never). The visual on the left shows a working bubble…
Aloys
  • 32
  • 6
0
votes
1 answer

Deneb vega lite visual gantt chart height {step} dynamic value

I am currently facing a problem with a custom Gantt chart in vega lite (Deneb power bi visual) I made based on the idea for a gantt chart from a stackoverflow topic: Gantt chart example using vega-lite Everything works correctly, I just have a…
0
votes
1 answer

How can I sum the values on Power BI Deneb?

I have a table with the values that I want to display on Power BI Deneb Bar chart. LossReason PrimaryQuantityLoss Chupados 1 Generic Terminate 18530 Generic Terminate 929 Generic Terminate 980 Leitosas 1 Manchas 1 But the…
Faria
  • 3
  • 1
0
votes
2 answers

formatting text marks in a hconcat composition

I have this gist: my sample table I have two questions: Can I control the spacing between the 2nd "sumofvals" and the 3rd "the individuals" view control separately, I want them closer together Can I extend the coloring to the "header" as well Tom
Tom Martens
  • 118
  • 7
0
votes
1 answer

Is there a way to get a drop-down hierarchical gantt in Deneb?

I've seen @david-bacci do some great work in Deneb . Specifically in this post Deneb/Vega-Lite: Hierarchial y-axis on a Gantt chart I want to know though if it is possible to have those top categories be collapsable drop-down menus in Deneb?
0
votes
0 answers

How can I show multiple event values in a Deneb (vega-lite) PowerBI tooltip?

In PowerBI using a Deneb (vega-lite) visual, I have created a horizontal timeline (similar to a Gantt chart, but all along one timeline), with point marks along the timeline whenever an event occurred. Some dates have multiple events, but I can only…
0
votes
0 answers

How to insert our dataset values in the Deneb Sankey Chart in PowerBi

How to insert our dataset values in the Deneb Sankey Chart in PowerBi I am using Deneb Sankey Chart in PowerBI https://github.com/PBI-David/Deneb-Showcase/tree/main/Sankey%20Chart due to the lack of personalization of the powerBi sankey chart. I am…
0
votes
0 answers

Gannt Chart - Vega - Text mark to only show once

I am tweaking the fantastic Gannt chart created by Davide Bacci, i am experienced with Vega-Lite but only learning Vega, and within the text mark below I only need it to appear the once, currently when the same task appears in the dataset the text…
DWard1990
  • 11
  • 1