Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Do these work? I've tried copying the sample from the barchart tutorial (https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/StaticObjects.md) yet the items i add never appear under the "format" pane. Am i missing something? My capabilities.json looks like this (below) and i was expecting to see an 'Enable Axis' option under formatting on the right? Apologies if i have missed something.
{
"dataRoles": [
{
"displayName": "Category Data",
"name": "category",
"kind": 0
},
{
"displayName": "Measure Data",
"name": "measure",
"kind": 1
}
],
"dataViewMappings": [
{
"conditions": [
{
"category": {
"max": 1
},
"measure": {
"max": 1
}
}
],
"categorical": {
"categories": {
"for": {
"in": "category"
}
},
"values": {
"select": [
{
"bind": {
"to": "measure"
}
}
]
}
}
}
],
"objects": {
"enableAxis": {
"displayName": "Enable Axis",
"properties": {
"show": {
"displayName": "Enable Axis",
"type": { "bool": true }
}
}
}
}
}
Appears to be Power BI Service debug visual only, works if i package to desktop, sorry forgot to mention that.
Hey Ddan,
i got this failure too. It works to last Friday.
Do you try it with the normal sample example from here: https://github.com/Microsoft/PowerBI-visuals-sampleBarChart
That do not work for me.
Sometimes it helps to restart the Browser or the PBIVIZ.
Addendum: Do you implement the BarChartSettings and the EnumerationObjectInstances Method?
Greetings Mcburn
Thanks Mcburn, yes I've implemented them both. Works ok if i package it and put it in desktop so i think its a debug visual thing.
I see there is an open issue at https://github.com/Microsoft/PowerBI-visuals-tools/issues/43. You may give feedback at https://ideas.powerbi.com/forums/265200-power-bi as well.
In the moment i do not get the objects in dataViews[0].metadata.
But when i package my project i see the objects in the format frame, the objects are still empty.
It is the same failure with the example project.
Iam really confused on Friday everything was ok.
watching this as I have the same issue, any custom objects I can't get to show up
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |