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

Force vega-lite to show label when number is 0

I'm still very much a beginner in vega-lite but I'm trying to create a stacked bar chart with different sales channels. Sometimes a sales channel has a 0 and doesn't show up, how can I still show the label? { "layer": [ { "mark": { …
0
votes
1 answer

Can I set a dynamic axis value using Vegalite?

I'm using Vega-lite in PowerBI to make a visual. I want to manually set the axis values, based on the result of a measure ( the measure exists in PowerBI and is added to the Deneb integration ). Using the code below but subbing the field out for an…
Andy
  • 1
  • 2
0
votes
1 answer

Deneb 3x3 subplot

I'm wanting to create a chart (I'm calling it a 3x3 subplot, but this may not be the correct name) in Deneb: for each categorical x and y value, I want a stacked bar chart of the project names. [Eventually, colors will be added from a z value,…
Pat
  • 125
  • 9
-1
votes
1 answer

Is it possible to put a label inside every circle in a scatter plot in vega-lite?

Is there a way to put a label inside the circle of a bubble chart, I have the following chart developed in Vega-lite. I am uploading my script too, inside the circle I want to show to the value of “Label” inside the circle. I am using the following…
-1
votes
1 answer

Deneb Card containing Text + Bar Chart (Vega-Lite)

I'm trying to create a card using Deneb, the card should contain a Measure representing total revenue added as Text, and below it a bar chart that breaks the revenue by month. I have created the bar chart with no problem, but when I add the Text…
1 2 3 4 5 6 7
8