0% found this document useful (0 votes)
22 views8 pages

DS41 Power BI Doubts Live Session

The document outlines a Power BI training session covering key topics such as appending and merging queries, data modeling, and DAX (Data Analysis Expressions). It discusses the importance of fact and dimension tables, various schemas (star and snowflake), and time intelligence functions like YTD, QTD, and MTD. Additionally, it addresses handling missing values, creating calculated columns and measures, and the significance of filters and slicers in data analysis.

Uploaded by

vinaylakshman30
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views8 pages

DS41 Power BI Doubts Live Session

The document outlines a Power BI training session covering key topics such as appending and merging queries, data modeling, and DAX (Data Analysis Expressions). It discusses the importance of fact and dimension tables, various schemas (star and snowflake), and time intelligence functions like YTD, QTD, and MTD. Additionally, it addresses handling missing values, creating calculated columns and measures, and the significance of filters and slicers in data analysis.

Uploaded by

vinaylakshman30
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

DS41 - Power BI Week-1 Doubt Clarification

Agenda:

Append, Merge Queries, and handling of Missing Values


Overview of Data Modeling
Overiew of DAX

Removing of Alternative Rows

1234455 rows

4567 - Particular row will be removed

4567 >> 1 >> 1234455

COVID -

Result is Positive
Result is Negative
Result is Positive
Result is Negative
Result is Negative - Positive
Result is Negative
Result is Positive
Result is Negative - Positive
Result is Positive
Result is Negative
Result is Positive
Result is Negative

Append, Merge Queries

Append - If the structure of the data is same we go for APPEND - Rows will increase

Merge - If the structure of the data is NOT same we go for MERGE

JOIN's Concepts
Columns will increase
Pivot and Un-pivot

Overview of Data Modeling

When you are having Mutiple Sources then we go for Data Modeling
Establishing a Relationship

Fact Table and Dimension Table (Dim)

when we need it?

HR - - - Employee Name, Salary, Daily Work Hours, Designation, Holidays 1000 rows
and 15 columns
Software - EMployee name, Tools you have using, Work Hours 100 rows and 10 columns

Hardware - EMployee name, Tools you have using, Work Hours 100 rows and 10 columns

Security - EMployee name, Tools you have using, Work Hours 100 rows and 10
columns

Product - EMployee name, Tools you have using, Work Hours 100 rows and 10
columns

Fact Table - HR - EVents or Observations - Overall records- Multiple records


Dim - Rest of the Departments - Indepth information - Unique Values

If the Fact Table is at the top - Many to 1 relationship

One to One Cardinality will work

Dim to Dim Table

Many to Many - Fact to Fact - Snowflake Schema

STAR SCHEMA - Parent and Child

SNOWFLAKE SCHEMA - Parent, Child and Subchild

Market_Table

Region - Rep_Name
East
West
Central
Souuth

Can I say this like, having tables that are not related directly to fact table but
that table is somehow connected with fact table through DIM table, then snowflake
schema comes into picture. Correct me if I am wrong.

Star and Snowflake schema

filters and slicers

Overiew of DAX - data analysis expression

With the existing data we are going to create new columns or measure by using an
expression

Calculated Columns and Calculated Measures

Calculated Columns it will create a new coulmn by using row-wise data - Condition
Calculated Measure - You will be having an Unique Value - single value - By using
an Aggregation function

aggregation type for column or measure can you confirm once again
Filters and Slicers

Filter - Will provide the data based upon a condition


Slicer - Will provide you the particular information

Mahesh Babu P

Space

After Delimter - Babu

Before Delimiter - Mahesh

LATIN AMER. & CARIB


3 delimiter
. &

sir one question when we change data type of one column then get errors in that
column -
Inappropriate Datatype

sir after transform orders table it showing errors on order date and ship date -
DataTypes are correct

sir if we delete a unnecessary column is it fine to do that - Yes it is fine

because I see some unnecessary columns in project of power bi

First step - Create a Duplicate copy of the orginal data - Refernence

Time Intelligence Functions

YTD, QTD and MTD

1. Active Business
2. Inactive Business

2. Inactive Business

Shutdown Business which is not running right now

Start Date and End Date

Start Date: 2023-01-08

End Date: 2024-03- 31

YTD - Year to Till Date

End Date: 2024-03-31(Fixed)


YTD - 01-01-2024 to 2024-03-31

End date is 2022-01-06

YTD - 2022-01-01 to 2022-01-06

QTD - Quarter to Till Date

4 Quarter

Start Date: 2023-01-08

End Date: 2024-03-31

Q1 - 01-01-2024 to 2024-03-31

MTD - Month to Till date

Start Date: 2023-01-08

End Date: 2024-03-31

MTD - 2024-03-01 to 2024-03-31

How often we deal with shut-down business in real-time?

1. Active Business
Current Running Business

Will I have any Fixed End Date (NO)

Start Date : 2023-01-08


End Date : 2024-06-25

YTD - 2024-01-01 to 2024-06-25


QTD - Q2 - Apr 1st 2024 to Till date
MTD - June 1st 2024 to Till date

if we do this in next year then the end date will be next year
running business

MTD - June 1st 2025 to Till date


YTD - 2025-01-01 to 2025-06-25
QTD - Q2 - Apr 1st 2025 to Till date

Keepfilter and AllExcept

Allexcept - Total Sales >> Region is Central >> Segment >> Corporate

1. Regions

East
West
Central
South

2. Segment

Consumer
Corporate
HomeOffice

Corporate_sales_2 = CALCULATE(SUM(Orders[Sales]),
Orders[Region] = "Central",
Orders[Segment] = "Corporate"
)

keepfilters

6 Members
A - 90
B - 50
C - 45
D - 78
E - 30
F - 89

If Total >70 - Section A else Section B

KEEP FILTERS

Put - the filter Condition (If Total >70 - Section A, Total>60 -Section B, Section
C)

A - 90
Put - Section A
B - 50

Section A
A
D
F

Section B
B
C
E

Allexcept - Exclude

6 Members
A - 90
B - 50
C - 45
D - 78
E - 30
F - 89

Condition: If Total >70 - Section A else Section B


ADF

BCE

10 students

Grade A
Grade B
Grade C

I want only Grade C

switch where we use if multiple of nested if i required

sir pls show how to use filter once again

Filters - Specific Condition on the data = Desktop

sir we transform the data in the query editor and close and upload it in the bi
desktop

that after that we need again to transform data in the query editor how can we do
that

Filters and Slicers

Capstone Project: Exploring Coffee Quality Data with Power BI

Varieties of Coffee -

Business problem or Business Understanding

Data Collection - Sources - Primary or Secondary

Secondary Data - You will go through the data description

Sir we have some non English char.. you said use translate. - You need to use it
If we have more rows then how can we do that is there any function - NO FUNCTION

Hirerachy -

can u show how to use and where to use google translator in the dataset

Bookmark -

So, In real time scenario, do we use only Power BI?

Can't we use Python - Pandas, Matplot, Seaborn etc.,

Week 2 Day 1 and 2 - Concepts

Data Analysis Expression


Calculated Column
Calculated Measure
Where to create

Calculated Column - Created in Table View - With any visual but not with the Card
Calculated Measure - Created in Report View - Card visual
Quick Measure

Different Functions in DAX

Time Intellengence Functions - YTD, MTD, QTD, Sampleperiod last year and Date
Difference
Filter Functions - All, ALlexcept, Keefilters, Filters
Text Manipulation Functions - Len, First, last, trim, clean, concat, Upper and
Lower, MID
Aggregation Functions - Sum, Min, Max, Avg, count
Logical Functions - AND, OR
Date and Time - Year, Month, Day
Calendar and Auto Calendar -
Condition Functions - If and Switch

Created a report in Power BI desktop


Published in Power BI service - We have created a Dashbord

Difference between Report and Dashboard

We signed in to Power BI service

Conditioncal Columns in Power Query Editor


Handling the Missing Values
Fill up and Fill down
Hirerachy

Visualizations:
Comparative Analysis
Composition Analysis
Trend Analysis
Correlation / Relationship Analysis
Part to Whole Analysis
Distribution
Eye to Detaill - Table and Matrix visuals

Saving the Power BI file -


Extension - .pbix

Free trail - 90 days

The student is using the Table - He want to view the Sales for all the departments
he is seeing all the sales values are same

Cross-check the Data Modeling - and also filter direction

Sir if there is no connection between two table how to build connection in model?
new table - Date table

sir once we complete project on power bi in real time we need to do these all steps
right
Is there sql use in power bi project? NOOOOOOOO

You need to do this project in POWER BI ONLY!!!!!!!!!

sir if we have one table what we say it in story telling

Is powerbi uses any programming language in backend ? - M Language

Not for this project but in general... Do we ever use sql?

Your data will be in Databases - SQL / Postgres / Oracle

sir how do we know the dataset is done analysis then we can go to desktop

WHen you see the


valid is 100%
Error is 0%
Empty is 0%

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy