Create Stacked Bar Chart with Multiple Target Lines Visual for Power BI

Create Stacked Bar Chart with Multiple Target Lines Visual for Power BI


Prerequisite:

  • Sign up for PBIVizEdit
  • Create sample data in CSV

Steps:

  1. Visit https://pbivizedit.com/gallery/stacked-bar-chart-with-multiple-target-lines and click on modify visual.

Stacked Bar Chart with Multiple Target Lines

  1. If you have already signed up in our tool you will directly go to the Stacked Bar Chart with Multiple Target Lines editor.

Stacked Bar Chart with Multiple Target Lines
Else, you have to first register with our tool and after you log in you will first come across Visual Editors page.

Stacked Bar Chart with Multiple Target Lines
From Visual Editors page, you can go to library, choose the Stacked Bar Chart with Multiple Target Lines visual and import the visual.

Stacked Bar Chart with Multiple Target Lines Once you click on import, you will be directed to the Stacked Bar Chart with Multiple Target Lines editor.

3. Upload your sample data (.csv files only) under Data tab using Upload csv button. For more details go to How to import data

Stacked Bar Chart with Multiple Target Lines

  1. Map your dimensions to axes available under Data Attributes.

e.g. – Based on the data taken in the sample
  • Series 0 (Bar): X Axis = Jan Sales, Y Axis = Brand, Legend = Promotion Type, Label = Jan Sales
  • Series 1 (Bubble): X Axis = target, Y Axis = Brand

For more details go to Data Attributes

Stacked Bar Chart with Multiple Target Lines

  1. You can check the visual after mapping under Visual tab.

Stacked Bar Chart with Multiple Target Lines

  1. If you want to make changes in the visual attributes, you can make them under Visual Attributes section.
    Few attributes that can be changed for Bars and bubble(used as target line here) are:

    • Bar colors
    • Bar width and transparency
    • Marker color, size and type
    • Legends
    • Tooltip
    • Spacing and lot more.

    To know more about visual attributes, check Visual Attributes section.

Stacked Bar Chart with Multiple Target Lines

  1. Once you get your desired custom visual, click on Export visual button to export it.

Stacked Bar Chart with Multiple Target Lines
Update the visual properties and choose the properties you want Power BI formatting panel to display under Format tab. Once you have set the visual properties, fields and format, click on Export Visual button.
To know more about the visual properties, fields and format, check Export Visuals section.


Note - Free visuals will expire after 3 months from the day of export. If you want to use the visual for a longer period, we would suggest you to buy the visual.


  1. After exporting, import the .pbivizfile into the Power BI and use them in your dashboards.

Stacked Bar Chart with Multiple Target Lines

Stacked Bar Chart with Multiple Target Lines