HI I have followed this tutorial and have it working
https://www.youtube.com/watch?v=FlzlSozY3VE
here is my PBI file
https://drive.google.com/file/d/1fZ5kszQT0kOLQ_EaoiShPt0PzGtr8ldW/view?usp=sharing
I would like to add the actual values of the measure, I have tried to use another deneb table I have working to try and show the actual vaules but I can't seem to get it to work, How do I show the actual values?
I would like to see the actual Journeys value, not just the heat map colouring.
{
"data": {"name": "dataset"},
"vconcat": [
{
"hconcat": [
{
"name": "Main matrix",
"mark": {"type": "rect","tooltip": true},
"encoding": {
"x": {
"field": "WeekDay",
"sort": null
},
"y": {
"field": "Hour",
"sort": null
},
"fill": {
"field": "Journeys",
"type": "quantitative",
"legend": null,
"scale": {
"range": [
"#D5E9F9",
"#25476E"
]
}
}
,
"opacity" : {
"condition" :{
"test" : {
"field" : "__selected__",
"equal": "off"
},
"value":0.3
},
"value": 1
}
}
}
,
{
"name": "Marginal bars (row)",
"width" :75,
"mark": {"type": "bar",
"tooltip": true,
"height" : {"band" : 0.8}
},
"encoding": {
"y": {
"field": "Hour",
"sort": null,
"axis": null
},
"x": {
"field": "Journeys",
"type" : "quantitative",
"aggregate" : "sum"
}
}
}
]
},
{
"hconcat": [
{
"name": "Marginal bars (col)",
"height":35,
"mark": {"type": "bar", "tooltip": true,
"width": {"band": 0.8}}
,
"encoding": {
"x": {
"field": "WeekDay",
"sort": null,
"axis": null
},
"y": {
"field" :"Journeys",
"type" :"quantitative",
"aggregate" : "sum",
"scale" :{
"reverse" :true
}
}
}
}
]
}
]
}
Thanks for all advice and help.
Solved! Go to Solution.
Hey @jasemilly, here is the updated .pbix file. If this satisfies what you're after, please consider kudoing and choosing this as the solution. Also, feel free to tag me in the future for any Deneb related questions that come up. Always happy to help!
Hey @jasemilly, here is the updated .pbix file. If this satisfies what you're after, please consider kudoing and choosing this as the solution. Also, feel free to tag me in the future for any Deneb related questions that come up. Always happy to help!
Hi @jasemilly, can you clarify what you mean by "actual values"? From interrogating the vega-lite spec, it looks like there are 3 fields being used: Journeys (numeric), WeekDay (text?), Hour (numeric). I'm not sure what the actual values are and where/what type of marks you'd like them to appear as.
If you could provide a sanitized .pbix file, that would also be helpful. Here are some tips on how:
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Happy to try and help
User | Count |
---|---|
120 | |
62 | |
56 | |
47 | |
40 |
User | Count |
---|---|
111 | |
65 | |
61 | |
54 | |
46 |