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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
BeWu
Frequent Visitor

boxplot with jittering

Hi, 

 

I have a boxplot created using visual "Box and Whisker by MAQ Software". 

BeWu_0-1679487178181.png

Is it possible to add jittering to the boxplot? When I create a measure 

Jitter = 0 - (RAND() - 0.2) it is not possible to add it into Axis category. Any ideas how to solve this problem ? (greenish points represent number of people entering rooms montly, each point = room). Thanks for help and suggestions. 

 

 

1 REPLY 1
ppm1
Solution Sage
Solution Sage

Here's an example of one way to do it, with the Deneb visual.

 

ppm1_0-1679532471364.png

Getting Started | Deneb

{
  "data": {"name": "dataset"},
  "facet": {
    "column": {"field": "Subcategory"}
  },
  "spec": {
    "transform": [
      {
        "calculate": "random()-0.5",
        "as": "jitter"
      }
    ],
    "layer": [
      {
        "mark": "point",
        "encoding": {
          "x": {
            "field": "jitter",
            "type": "quantitative",
            "scale": {
              "domain": [-10, 10]
            },
            "axis": null
          },
          "y": {
            "field": "Total Qty",
            "type": "quantitative"
          }
        }
      },
      {
        "mark": {
          "type": "boxplot",
          "extent": "min-max"
        },
        "encoding": {
          "y": {
            "field": "Total Qty",
            "type": "quantitative"
          }
        }
      }
    ]
  }
}

 

Pat

 

Microsoft Employee

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.