Power BI: Visualizing Basic Statistics in Power BI, Using Python Script
DescriptionIn this video, the presenter demonstrates how to calculate basic statistics using Python script in Power BI and create a dashboard from those statistics using Power BI visuals. The video starts with importing the Pandas library and reading data from an Excel file into a data frame. The presenter then calculates mean, mode, median, standard deviation, and variance for the data and combines all the data frames into a single data frame containing all basic statistical calculations.
The video then shows how to use the Python script as a data source in Power BI Desktop application and format all numeric columns properly. The presenter then uses DAX minimum and maximum formulas to compute the minimum and maximum values for columns X and Y. Finally, the presenter creates a dashboard by drawing X and Y values on a line and column chart, and shows how the dashboard can be used to analyze the data.
Excel File: https://docs.google.com/spreadsheets/d/14XEitcPu26ArwD0Brqk85d1svFX9RAlf/edit?usp=share_link&ouid=110287700425339553017&rtpof=true&sd=true
Power BI File: https://drive.google.com/file/d/1EGCOUA9ge1gNghV4MC7Va8y5fPnFrNDi/view?usp=share_link
Python Code: https://drive.google.com/file/d/1aMz9Odvh9jLvjP7mIpzd93hk0lmS4S92/view?usp=share_link
#powerbi #visualization #python #mean #mode #median #standarddeviation #variance #statistics #pandas
00:18 - Writing a Python Script
03:02 - Using Python Script in Power BI as Data Source
04:48 - Creating Measures for Minimum and Maximum Values
06:00 - Creating a Dashboard in Power BI