2023 Week 48 | Power BI: Ring Chart

Introduction

This week’s challenge uses a few layering techniques in the Deneb custom visual.

Here you will be challenged to use multiple independent scales on a layered plot.

Advanced users can concatenate total bars for extra credit!

Requirements

Power Query
  1. Obtain the dataset from Github
  2. Model and load data
Power BI Desktop
  1. Obtain Deneb from AppSource
  2. Create Measure to calculate percentage marriages by month for each State
  3. Create rectangle mark layer, encode Month along Y-Axis, State along X-Axis, % Marriage by State by colour
  4. Create your own colour scale
  5. Create Measure to calculate sum of marriages
  6. Create circle mark layer, encode Month along Y-Axis, State along X-Axis, sum of marriages by Size
  7. Create text mark layer, encode Month along Y-Axis, State along X-Axis, sum of marriages by Size, colour the text marks conditionally based on gradient for best contrast.
  8. Set the scales to resolve independently
  9. TIP :

“resolve”: {

    “scale”: {

      “color”: “independent”,

      “size”: “independent”,

      “x”: “shared”,

      “y”: “shared”

    }

Dataset

Share

After you finish your workout, share on Twitter using the hashtags #WOW2023 and #PowerBI, and tag @MMarie, @shan_gsd, @KerryKolosko. Also make sure to fill out the Submission Tracker so that we can count you as a participant this week in order to track our participation throughout the year.

Solution

Solution File available for download via Data Stories Gallery

Scroll to Top