Forum Discussion
BigLo
Helper III
4 years agoCombine XYPlot and Scatter Plot
Hello, I want to combine an XY Plot and a scatter Plot. Is it possible? For example, I want to combine these 2 graphs on a single view.
- 4 years ago
It's possible with a custom visual called Deneb - - but it takes a bit of learning.
More about Deneb here:
Deneb - Declarative Visualization in Power BI (deneb-viz.github.io)
{ "data": {"name": "dataset"}, "layer": [ { "mark": { "type": "point", "opacity": 0.5 }, "encoding": { "x": { "field": "Sale Price", "type": "quantitative" }, "y": { "field": "Units", "type": "quantitative" }, "color": { "field": "Project", "type": "nominal" } } }, { "mark": {"type": "line"}, "encoding": { "x": { "field": "Sale Price", "type": "quantitative" }, "y": { "aggregate": "mean", "field": "Units", "type": "quantitative" }, "color": { "field": "Project", "type": "nominal" } } } ] }
KerKol
Power Participant
4 years agoIt's possible with a custom visual called Deneb - - but it takes a bit of learning.
More about Deneb here:
Deneb - Declarative Visualization in Power BI (deneb-viz.github.io)
{
"data": {"name": "dataset"},
"layer": [
{
"mark": {
"type": "point",
"opacity": 0.5
},
"encoding": {
"x": {
"field": "Sale Price",
"type": "quantitative"
},
"y": {
"field": "Units",
"type": "quantitative"
},
"color": {
"field": "Project",
"type": "nominal"
}
}
},
{
"mark": {"type": "line"},
"encoding": {
"x": {
"field": "Sale Price",
"type": "quantitative"
},
"y": {
"aggregate": "mean",
"field": "Units",
"type": "quantitative"
},
"color": {
"field": "Project",
"type": "nominal"
}
}
}
]
}