This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
im trying to create my own custom visual histogram but i'm having some trouble when importing my data points into the visual.
When choosing my dataroles in the capabilities.json there are the options to map the data by categories, single, table etc but all of these require a grouping category. What i need though is only to get only a single column of data points into my visual without any summarizing of any of the points. Just the raw column.
I haven't found anything to this regard yet so your help would be greatly appreciated.
Thank you
Hi
Not sure if I understand correctly, but I think the following creates a field where you can drag a single column into, and it binds the data.
Here's a decent tutorial:
https://github.com/ABKimmel/Power-BI-Visualization-Development-Tutorial/blob/master/docs/capabilitie...
{
"dataRoles": [
{
"displayName": "Field Name",
"name": "fieldInternalName",
"kind": "Grouping"
}
],
"dataViewMappings": [
{
"categorical": {
"categories": {
"select": [
{ "bind": { "to": "fieldInternalName" } }
]
}
},
"conditions": [
{
"fieldInternalName": {
"max": 1
}
}
]
}
]
}
Almost, this does allow me to get only one column of data points. But for example if i have a column like this:
it still puts the 0.02 into one bucket:
But i would like to have them as seperate values.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |