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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to get a visualization like that in Power BI

I want 2 bar charts side by side like this:

armughan_0-1625653407609.png

How can we get that in Power BI?

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

You could try my solution. It doesn't need a calculation group.

 

Steps are:

1. Create a table through Enter data. Put measure names in a column and add an index column.

070906.jpg

2. Create a measure like below. [M Inventory] and [M Sales] are two measures to be shown.

 

M Display = SWITCH(1,[M Inventory],2,[M Sales])

 

3. Add fields into the column chart. See my settings. Put above measure into Values field and Measures column into Small multiples field.

070905.jpg

Download the attachment for details.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

5 REPLIES 5
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

You could try my solution. It doesn't need a calculation group.

 

Steps are:

1. Create a table through Enter data. Put measure names in a column and add an index column.

070906.jpg

2. Create a measure like below. [M Inventory] and [M Sales] are two measures to be shown.

 

M Display = SWITCH(1,[M Inventory],2,[M Sales])

 

3. Add fields into the column chart. See my settings. Put above measure into Values field and Measures column into Small multiples field.

070905.jpg

Download the attachment for details.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Anonymous
Not applicable

Ok thanks but Small multiples is not letting me add measure there

TomMartens
Super User
Super User

Hey @Anonymous ,

 

you can crate like the one above using the Small Multiple feature, introduced some cycles earlier to Power BI Desktop: Create small multiples in Power BI (preview) - Power BI | Microsoft Docs

image.png

From the chart you provided I assume that "YouTube Live ...(%)" and "YouTube Download...(%)" are measures or numeric values in your Power BI data model.

 

For this reason, it's necessary to create a calculation group (), that can be used in the small multiple well of the chart:
image.png

Here you will find an introduction on how to create calculations groups using Tabular Editor (TE2 is free, TE3 is a paid version, both are able to create a calculation group): Introducing Calculation Groups - SQLBI

 

Hopefully, this provides some ideas on how to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Thanks, it does work. But my requirement is to have measure values there and Power BI is not letting me add measures there. How can I achieve that?

Hey @Anonymous,

 

if you want create tiles by measure you have to create Calculation Group using Tabular Editor (as mentioned) in my initial post.

This is how configuration looks like for the visualimage.png

It's important to understand that it's mandatory to use an explicit measure to the values well, this is necessary to "activate" the calculation group.

This is how my calculation group looks like (using Tabular Editor 2. ...):

image.png

This is the DAX Statement for measure b, of course it makes sense to name the items accordingly:

image.png

It simply referencing a measure.

 

You might consider this a trick or a workaround, or whatever, but otherwise it's not possible to create small multiples by measures.

 

Hopefully, this provides the missing link.

 

Another approach is described in this blog post, that you can adapt to your needs, then you do not need a calculation group: Dynamic filtering in Power BI - Data Mozart (data-mozart.com)

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors