Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Seanan
Solution Supplier
Solution Supplier

Using Deneb to create a kanban view

Hi all,

 

In my free time I'm trying to create a DevOps kanban view that I can send to clients that will allow them to view the progression of tasks as they move between different states, without giving them access to DevOps itself.

 

I recently discovered the Deneb custom visual and was hoping that this may be able to help me achieve what I'm looking for but I have no knowledge of the Vega-Lite language.

 

PBIDesktop_1KlzaXmKm2.png

 

 

 

 

 

 

 

 

 

I've got the rectangles in place but how do I get my array of values from "repeat" to display at the top of each rectangle?

Code

 

{
  "data": {"name": "dataset"},
  "repeat": {
    "column": [
      "New",
      "Analysis",
      "Refinement",
      "Ready",
      "Development",
      "UAT",
      "Closed"
    ]
  },
  "spec": {
    "layer": [
      {
        "mark": {
          "type": "rect",
          "width": 100,
          "height": 300
        }
      },
      {
        "mark": {
          "type": "text",
          "dy": -175
        },
        "encoding": {
          "text": {
            "field": {
              "repeat": "column"
            }
          }
        }
      }
    ]
  }
}

 

 

 

 

 

1 ACCEPTED SOLUTION
giammariam
Super User
Super User

Hi @Seanan, based on what you're describing, I believe the layout composition you want is facet, not repeat.
Here is an example gist (note - I explicitly listed the values in the values array of the data object. You'll want to remove that in Deneb). Hope this helps!

giammariam_0-1697218316551.png

 

If this is enough to get you going please consider liking this reply and choosing it as the solution. Otherwise, I'm happy to help further.



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!

View solution in original post

1 REPLY 1
giammariam
Super User
Super User

Hi @Seanan, based on what you're describing, I believe the layout composition you want is facet, not repeat.
Here is an example gist (note - I explicitly listed the values in the values array of the data object. You'll want to remove that in Deneb). Hope this helps!

giammariam_0-1697218316551.png

 

If this is enough to get you going please consider liking this reply and choosing it as the solution. Otherwise, I'm happy to help further.



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors