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
BennyS
New Member

Data Preparation in PowerBI or in Python upfront?

Hi Community!

 

I am currently starting my "PowerBI Career" and I guess I need some starting push. 

The result of my python script that collects data is a CSV file which is uploaded to a database table. I want to create a PowerBI Dashboard for that data. 

 

That table contains e.g. a column which looks as follows:

Column_Example1.png

I want to create a barchart thereof which looks like this.

BarChart_Example1.png

 

I realized that I can do this with a "split column by delimiter" to rows. However, this deteriotates the table itself for other visualisation that I am planning. Is there a way to get this visualisation by not splitting the column? In Tibco Spotfire I would imagine a code snippet in the y-axis definition. 

 

I also would like to do other transformations like this.

 

Any starting advice? 🙂 

 

Thanks a lot!

1 ACCEPTED SOLUTION
KriZo
Resolver II
Resolver II

You could do a Python visual:

 

import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt

all_values = ','.join(dataset['Column1']).split(',')

sns.countplot(y=all_values
plt.show()

 

 Which would result in: 

KriZo_0-1711552719718.png

View solution in original post

1 REPLY 1
KriZo
Resolver II
Resolver II

You could do a Python visual:

 

import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt

all_values = ','.join(dataset['Column1']).split(',')

sns.countplot(y=all_values
plt.show()

 

 Which would result in: 

KriZo_0-1711552719718.png

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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