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
Anonymous
Not applicable

plotting, visuals,

Hi  everyone,

i have a table with (among others) the following fields:  country,  value_in %,  year.  In Tableau i can create very easily the following visual 

image.png

 

but in power bi i get as fas as the following, is it my or power bi's limitation 😄 

 

 

 

image.png

which looks pretty messed up

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks everyone,

 

i have "solved" the problem by placing multiple visuals side by side, creating the desired effect

image.png

 

a major problem with this approach is the amount of time one would invest if there e.g. 80 countries in the datamodel.  The question that arieses here is,  is there a way to automate plotting visuals???

 

View solution in original post

17 REPLIES 17
PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

This is the closest I have managed...not exactly the same, but...

 

by country & year.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@Anonymous exactly that's the best you can do, you cannot drive the color based on Yes/No (red/green)



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@PaulDBrown  thx,

the resolution of the image is unfortunately very poor (or my eyes),  and how did you achieve it?  

 

@Anonymous 

 

I haven't succeeded in including the yes/no.

 

Here is the PBI file if you're interested:

 

 https://1drv.ms/u/s!AhGKDZz6e4HesheNGOZ9QElh9MJr?e=rbSviO 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Thanks everyone,

 

i have "solved" the problem by placing multiple visuals side by side, creating the desired effect

image.png

 

a major problem with this approach is the amount of time one would invest if there e.g. 80 countries in the datamodel.  The question that arieses here is,  is there a way to automate plotting visuals???

 

Anonymous
Not applicable

Hi,

do you need something like this?

 

powerbi_countryYear.png

 

 

 

 

 

 

 

 

 

 

 

Regards

Lorenzo

Anonymous
Not applicable

yes sir!

Anonymous
Not applicable

Perfect!

You have to set off the "Concatenate labels" option in the X Axis section of the Format properties of Visualization pane.

powerbi_countryYear detail.png 

 

 

 

 

 

 

 

Country as legend gives different colors by Country effect.

If you agree with my solution, please give me a kudo.

 

Regards

Lorenzo

@Anonymous 

Great solution you came up with! I wouldn't imagine it is that cumbersome to create a side-by side solution as you have created for a number of countries. Surely you can create a "master" chart, duplicate and use the filter pane to allot each country?

 

On another note, you can of course resort to creating custom visuals using R, of which I am completely ignorant though I did come across this example which does seem to point towards what you were looking for:

Table with embeded chart in Power Bi using R 

 

side by side visual.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

@PaulDBrown   thx.

the problem R or Python script generated plots are missing interactivity.  Meaning, the filtering, slicing etc would not work.  Correct me if i am wrong.

@Anonymous 

I'm afraid my knowledge of R / Python is 0, and I haven't looked into the implications regarding interactivity etc, so I can't be of much help..

 

This page seems to say they do, however, respond to slicers etc:

 

How to create custom visuals in Power Bi using R 

 

There is also a resource/tool which helps create custom visuals without coding, though I have never tried it out:

 

Charticulator 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

@PaulDBrown  thx a lot, i'll definitely take a look at those two.

 

Anonymous
Not applicable

 

continuing the same thread:
why are the bar thickness different although everyting else is the same.

can anyone help me out here.

image.png

 

@Anonymous you need to use line and clustered column chart

 

and put % on line values. and format pane, under shapes, change turn on Stepped

 

image.png

 

 

image.png

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@Anonymous you can achieve following

 

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

thx @parry2k ,
i forgot to mention, the color code is used for other purpose (red: no, green:yes)

@Anonymous aha, afaik that is not possible currently until you find out a visual on market place that I can achieve it. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.