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
seanxiao
Frequent Visitor

how to show SMILES depiction in powerBI

Let's say we have a csv file like below, and created a line chart with SMILES column in X and Sum of ID in Y. How to show SMILES depictions in the X-axis as chemical structure? SMILES: https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system

 

IDSMILES
1CC
2OCCCCCO
3c1ccccc1
4c1ccccc1O
5C1=CC=CC=C1
6OC1=CC=CC=C1

image.png

5 REPLIES 5
v-yuta-msft
Community Support
Community Support

Hi seanxiao,

 

Currently, power bi doesn't support this feature. You can submit your idea here:

https://ideas.powerbi.com/forums/265200-power-bi-ideas?query=change%20chart%20X-axis

 

Regards,

Jimmy Tao

Thanks Jimmy. I've got a work around by adding some additional python scripts.

Any chance you could share the Python snippets? Or a link so I can modify for my application? I'm trying to link up our SMILES into structures in PowerBI right now...

 

Thanks!

Kyle

@KAVIV ,

 

Hope you will get the python script.

Just in case nothing works out, try this work-around: Disable X-Axis labels and place an image with SMILES structures.

 

Give a thumbs up if this post helped you in any way and mark this post as solution if it solved your query !!!

I would be grateful for such a script too! thank you!

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.