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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Curious1_209
Frequent Visitor

Add a column of charts to a table?

We have a Tableau visual like the following:

 

Capture.png


The table has two columns: Class (text) and % of Money Used (decimal such as 8.2 and 0.4). We are migrating from Tableau to Power BI. I am new to Power BI and I know how to create a table visual. How to create a column of bar charts for each Class similar to that in the Tableau visual? Even add a greyish background color as in the Tableau visual?

 

If there is no straight solution, any workaround?

 

Thanks for any info!

 

1 ACCEPTED SOLUTION
tackytechtom
Super User
Super User

Hi @Curious1_209 ,

 

I got partly to a solution:

tomfox_1-1645637575036.png

Click on the     tomfox_2-1645637668299.png     for the column you would like to get the bars for. Then Conditional formatting > Data bars:

 

tomfox_0-1645637548575.png

 

Apply the following settings and click ok:

 

tomfox_3-1645637796088.png

 

As you can see, I was not able to add a grey background to the bar either. I managed to color the whole column grey though, but I do not believe that is what you are looking for...

 

Hope this helps you anyway 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 

 

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

View solution in original post

5 REPLIES 5
tackytechtom
Super User
Super User

Hi @Curious1_209 ,

 

It should work if you rename the second column to something different. Just double click on the column in the Values pane to give it another name.

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Thanks for your follow up.  I deleted my earlier reply because I thought you used two columns. By "rename the second column", you mean you created two columns with the same percentage data in each row? 

 

I have only one column and added it twice to the table. However, if I rename one column, the name of the other column changes too. And when I added conditional formatting, it affects two columns at the same time. 

Hi @Curious1_209 ,

 

The column that shall show the values needs to have a different summarization level than the one that shows the bars. See the screencast below:

 

powerbi_bars.gif

 

Hope this helps!

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Thanks for the additional info! 

Regards.

tackytechtom
Super User
Super User

Hi @Curious1_209 ,

 

I got partly to a solution:

tomfox_1-1645637575036.png

Click on the     tomfox_2-1645637668299.png     for the column you would like to get the bars for. Then Conditional formatting > Data bars:

 

tomfox_0-1645637548575.png

 

Apply the following settings and click ok:

 

tomfox_3-1645637796088.png

 

As you can see, I was not able to add a grey background to the bar either. I managed to color the whole column grey though, but I do not believe that is what you are looking for...

 

Hope this helps you anyway 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 

 

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.