296 questions
1
vote
0
answers
51
views
Vega Lite Facet: Waffel inside calendar chart not working correctly
Seeking help to troubleshoot on vegalite visual (used in Deneb). Trying to create waffel visual inside calendar chart using facet operator for both row and columns.
Encountered problem that seems the ...
2
votes
1
answer
55
views
How to reset Deneb/vega count down timer
I am using the dynamic count down timer from deneb as per Daniel Patrick marsh example. I have a table visual on a page which gets auto refreshed every 30 seconds via direct query. I want the deneb ...
0
votes
0
answers
47
views
My vega code is compiling fine but not creating a visual in PowerBI. How do I resolve this?
I'm very new to Vega, mainly because I need a flow map in PowerBI under several constraints that make other methods unfeasible, and thus I've been attempting to create a custom visual with Vega. As it ...
0
votes
0
answers
34
views
How to prevent jumpback on user input in deneb vega gantt chart?
I am trying to create a Vega Gantt Chart using the template from David Bacci - Deneb-Showcase.
In my original dataset I am taking the data from sharepoint and importing it into deneb visual. I did ...
0
votes
0
answers
35
views
Interval selections and point selections working toghether
I have a list of words, I would like to make the seleciton experience as fast as possible. this means:
interval selectionS: S meaning that after the first zone is drawn
and lie selected, I would like ...
1
vote
0
answers
75
views
Incorrect position of average total text for a Faceted Matrix
Seeking help with vega lite code for Deneb Power BI as following. The overall average total for Avg. column showing in incorrect position when only 2 columns exist for the matrix. When there are 3 ...
0
votes
1
answer
205
views
Map visuals with Deneb in Powerbi environment
I'm trying to work my head around map visuals with Vega lite/Deneb within powerbi. I know that alternative exist, but am keen to understand the transaction between powerbi table and deneb.
For my ...
1
vote
1
answer
76
views
Guidance on aligning nodes horizontally by group in force layout
I’m trying to use Vega’s force transform to create a node-link diagram where nodes are positioned horizontally based on a group field (e.g., group 1 far left, group 8 far right). At the same time, I ...
2
votes
1
answer
100
views
Modifying the colors in David Bacci's PowerBI Deneb Org chart
I am trying to modify David Bacci's Org Chart. https://github.com/PBI-David/Deneb-Showcase/tree/main/Organisation%20Tree%20Chart. My goal is to change the color of the node borders based on ...
1
vote
0
answers
44
views
Small Multiple Project by Phase with Status Icon
SampleData
I am trying to create a custom visual in power bi using Deneb and Vega code.
I need a small multiple chart that groups the Projects in columns by phase. I also have to add an icon to show ...
0
votes
1
answer
33
views
Calculating `max` in Vega
I want to calculate the maximum of a column and store it in a value inside the signals block. I know how to do this by creating a new dataset and using transform and aggregate. But I want to learn how ...
1
vote
1
answer
146
views
How to dynamically provide colour hex codes (from a dataset) to Deneb (Power BI) Visualizations Using Vega/Vega-Lite?
For reference, we have been using the following template as a starting point: https://github.com/PBI-David/Deneb-Showcase/tree/main/Gantt%20Chart
I have these rows of data within my visualization that ...
0
votes
1
answer
64
views
Passing a Signal to another signal
I have a signal that defines the start of my data
{
"name": "initialScrollStart",
"init": "data('xExt').length > 0 ? data('xExt')[0].s : 0"
}
and I ...
1
vote
1
answer
91
views
Replicating tabular matrix view
I am trying to create this custom gantt chart visual with Deneb. I would like to add a parent column and would like it to replicate the tabular format of a matrix. I am able to create the new column ...
1
vote
1
answer
62
views
Deneb (Vega-lite) - Access Other Columns in Axis Label Expression
I am attempting to use expr to format/style my Yaxis labelFont, but it does not seem to take the expression. I have a helper column called YLabelFontFamily that already has values for reach row.
...
1
vote
1
answer
59
views
limiting text mark in deneb/vega to be within another mark
consider this example (here with more sample data in the vega editor)
{
"$schema": "https://vega.github.io/schema/vega-lite/v6.json",
"data": {
"name": &...
2
votes
1
answer
58
views
VEGA / DENEB: Accessing the absolute position of a parent group
Consider this example (here you can see it in the Vega editor):
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 200,
"height": 200,...
1
vote
1
answer
48
views
Vega - event handling from interacting with the axis
How can I handle events by interacting with an axis? Below I want to click on the overview axis and have it reset the overview brush.
Modified this example by adding to the brush signal to clear the ...
0
votes
0
answers
35
views
How to correctly position scatter plot dots over a heatmap in Vega?
I'm working on a Vega specification to create a project risk matrix. I have successfully created the heatmap representing impact and probability levels, but I am struggling to properly position risk ...
1
vote
1
answer
125
views
Add rectangle around dots in scatter plot using Deneb in Power Bi
What would a Deneb (Vega-Lite) specification look like when drawing a scatter chart like this + rectangles around dots that should be grouped together?
The following code creates the scatter chart but,...
0
votes
1
answer
175
views
Deneb/Vega - custom HTML tooltip
Is it possible to create a custom, HTML-formatted tooltip in Deneb?
I'm trying to find out because with the tooltip handler enabled, it should support it if I understood correctly. However, whenever I ...
0
votes
0
answers
71
views
David Bacci Sankey chart - time aspect
I'm attempting to utilize the Sankey chart from David Bacci https://github.com/PBI-David/Deneb-Showcase/blob/main/Sankey%20Chart/Sankey.pbix but wanting to add a time component to it so I can show ...
1
vote
1
answer
374
views
Modifying the Phase bar in David Bacci's PowerBI Deneb Gantt chart
I have been playing around David Bacci's Gantt chart for Deneb to show a company project schedule.
Instead of showing the "phase" as a continuous bar from starting date of first task to end ...
1
vote
1
answer
131
views
How to conditionally format an area chart in Deneb
I am trying to conditionally format an area chart. This works perfectly with a bar chart. So I'm stuck trying to figure what is wrong. I assume issue likely comes from how Vega-Lite handles color ...
1
vote
0
answers
126
views
How to aggregate a text column?
I have a Deneb visual in PowerBI, with vega-lite. I want to aggregate in a new column the text values from the data rows the user have selected (or all if no data row is selected).
For a better ...
1
vote
1
answer
71
views
Issue with text mark labels on arc visual vega-lite
Having an issue with labels on an arc visual in vega-lite.
Have used theta and text on a layered mark, I think it's related to what I am using for theta. I assumed adding the field that is the value ...
1
vote
1
answer
103
views
Data missing from basic visual in Deneb (vega-lite)
I am having an issue displaying data in a stacked var chart.
I am using transform to fold two measures together.
My assumption is that with null values this may be causing an issue, but that is a bit ...
0
votes
1
answer
108
views
waterfall chart Powerbi Deneb - X axis not following sort order when using x2 position on a rule
I have created this chart using vega-lite inside vega editor online Vegalite code it works fine (besides the last rule being outside the chart area ).
However when passing it to deneb chart in powerbi ...
1
vote
1
answer
346
views
How to create a clustered, stacked bar chart in Power BI
I dont know if this is possible
I can use Time, Typ or Källa as the X axel
But is it possibleto get one more variabel
I want it to show
Count of LSS and SOL
But separeted by Type (Avslag,Bifall) but ...
0
votes
0
answers
93
views
How to create a circular progress bar visualization in Power BI using Deneb (Vega-Lite)?
I am trying to create a circular progress bar in Power BI using the Deneb custom visual (based on Vega-Lite). The visual should dynamically display the average of a column as a percentage. Below are ...
0
votes
2
answers
133
views
Deneb Gantt 2.0 - add "Quarters" button?
I'm trying to add a Quarters button alongside the existing Days, Months, and Years time period buttons in David Bacci/s Gantt 2.0.
I've made some progress and had some issues. I need to fix the Months ...
0
votes
1
answer
60
views
How to display the absolute difference between two values on a dumbbell plot
I'm working on a dumbbell plot in Deneb/Power BI and I want to show the difference between each of the groups (absolute value) above the connecting line, like this:
I've tried to do this using a PBI ...
1
vote
0
answers
41
views
Visualize Duration 0 for Bar Chart Power BI Deneb
{
"data": {
"values": [
{"TERM": "AAA", "Start": -5, "End": -5},
{"TERM": "BBB", "Start": 1,...
3
votes
1
answer
65
views
Deneb in Power BI freezing
I am developing a visualization of Deneb in Power Bi. The visualization uses an arch. In order for the visualization to resize when the container is changed, I added coefficients to recalculate the ...
1
vote
1
answer
158
views
Deneb gauge in Power BI
I am trying to change the fill color of the gauge using a measure.
colorcode = "#d23d96"
I can see the data of this measure in the data table, but I cannot apply this color to the gauge.
The ...
1
vote
0
answers
47
views
How To Display Discrete Points Per Day Without Stacking In Line Chart For Deneb
I'm trying to achieve something similar to what can be produce by native line chart from Power BI, but couldn't figure out what am i missing as i'm just starting out with Deneb pretty recently.
I'm ...
0
votes
1
answer
68
views
Power bi deneb vega timer issue
I have a deneb vega issue. The script works fine excepted the currentTime is not updated. A timer is created in signals. Can you have a look?
For info: Measures provided by power BI
...
0
votes
1
answer
51
views
Sorting does not work after adding a new major model and sub-models
My previous question can be found at Deneb (Vega-lite) - Sorting Axis.
The answer from davidebacci helped me sort the sub-models in my dataset with only one major model.
After I've added a new major ...
1
vote
1
answer
83
views
Deneb (Vega-lite) - Sorting Axis
I am attempting to sort my Y axis, see screenshot below.
Basically, I want to sort the Y Axis based on the Even Rate in descending order. The structure of the data is as follows:
major model > ...
1
vote
1
answer
329
views
Vega-Lite (Deneb) | Waterfall Chart (Start & End Column Problem)
I have hit a dead-end trying to create both a BEGIN / END column for a waterfall chart.
I've managed to create the END column which correctly sits at the end of the X-axis (Jan to Dec). However, I'm ...
1
vote
1
answer
102
views
Multi-layer x-axis Date setup in Vega-Lite
I am trying to create a Vega-Lite visualization with a 4-layer x-axis. My goal is as follows:
Year and Month should be displayed only on the first day of each month. I have already achieved this.
...
2
votes
1
answer
146
views
Chart (circle) background off not working
EDIT: Add Screenshot
I am trying to use a Deneb Unit Chart (circle) from https://github.com/PBI-David/Deneb-Showcase in my Power BI Dashboard. Unfortunatelty I am not able to switch off the ...
1
vote
0
answers
69
views
representing dynamic columns to minimise rows in deneb
I'm making a deneb visual using vega about daily values for my hospital of up to 20 patients.
The current dataset being passed to deneb has one row per day and 30 columns of daily values about the ...
0
votes
1
answer
50
views
vega-lite deneb format chart legend with calculation group __formatted
with deneb visual in power bi we have
placeholder CG Продажи RWA RW
placeholder CG Продажи RWA RW__format
placeholder CG Продажи RWA RW__formatted
95430453917.96
#,##0,,.M
95,430m
50776655105
#,##0,,....
0
votes
0
answers
106
views
How to allow slicer filtering for tasks in David Bacci's PowerBI Gantt Chart
I'm fairly new to PowerBI and have recently gotten into David Bacci's PowerBI Gantt Chart-- was wondering if there was a way to allow filtering such that if a specific task is selected in a slicer, ...
1
vote
0
answers
302
views
Creating a table visual in Power BI with Deneb
I need to create a Table structure in Power BI with Deneb and vega or vega lite with two columns - Report Name in the first column and then a View button in the next column with the link to the report....
1
vote
1
answer
144
views
How do I get y-axis ticks in vega-lite to be "nice" round numbers evenly spaced?
I'm using vega-lite in deneb for the first time. I've created a line with multi y-axis. On the right side y-axis, Vega is automatically assigning the data point exact values as the tick labels and ...
1
vote
1
answer
227
views
How to add a vertical line in a Deneb/VegaLite dumbbell plot
I'm creating a dumbbell plot in Deneb in Power BI, and I'm wanting to add a vertical line to represent the average of all the values. I followed suggestions for doing something similar with column ...
1
vote
0
answers
43
views
How to reduce the dataset size with Power BI date slicers for Vega lite visual?
I am new to Vega lite.
Potentially I have over one million rows in a Power BI table. Each row has an associated time stamp. I want to reduce the dataset size with the start and end date slicer in ...
1
vote
1
answer
60
views
Deneb - Vega require to understand Javascript?
I am trying to learn how to use Vega/Vegalite to produce a visualisation.
I am just wondering, do I need to have a basic understanding of JavaScript in order for me to understand Vega ?
Thanks Heaps ...