SF logo
Power BI toolkit

Chart Patterns

Bar, column and line charts with something extra: a % of total label above each bar, bubbles over the columns, a ranked list a page at a time, or a highlighted stretch of time. You get the measures as a TMDL script and the steps to build the chart in Power BI’s own visuals. No AI needed.

Step1

Connect your model

With your model, you pick the measure and columns from lists and every name is checked before you copy the script.

The model export query (the same one the other toolkit pages use)
  1. In Power BI Desktop, open DAX query view, paste this query and select Run.
  2. Above the results grid, select Copy, then paste below.
DAX query: model export

            
Step2

What should readers see?

Pick a pattern. Each one uses Power BI’s own charts, set up in a way the Format pane alone doesn’t give you.

Step3

Your fields

The measure to chart and the column to chart it by.

Step4

Look

Colors for the bars and the labels. The build steps use them. Pick your own, or take your brand colors from Theme Builder.

Direction
Step5

Build it:

Add the measures first, then build the chart. Test on a copy of your report.

1. Check the measures first (DAX query view, optional)

Run it after step 2 to see the new measures for each item before you build the chart.

DAX query: test

        

2. Add them to your model (TMDL view)

In Power BI Desktop, open TMDL view, paste the script into a new tab and select Apply.

TMDL script

        

3. Build the chart in Power BI

Names in the Format pane can differ a little between Power BI versions. Format settings are under Format your visual (the paintbrush) > Visual.

4. Check it