Skip to content

MRALYTICS/Data-modelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

HOW I MODEL A DATA IN POWERBI(# NG30DAYSOFLEARNInG)

...

WHAT IS DATA MODELLING

Data modelling is the process of analysing and defining all the different data your business collects and produces, as well as the relationships between those bits of data. The process of modelling your data creates a visual representation of data as it’s used at your business, and the process itself is an exercise in understanding and clarifying your data requirements.Data modelling is a technique used in NORMALIZING data ,that is breaking them down into a fact table and dimension table.

Fact Table: Contains data about an event, holding aggregated numeric data that you want to analyze. Dimension Table: Tables that keep metadata that describe the fact table that can be used to filter the fact table ; Typically in a data model you would have a single fact table and multiple dimension tables related to each other through keys.In other words fact table contains permanent data why dimenssion tables contains continuous data.

STAR SCHEMA

Case study: A superstore data

A denormalized data in excel

Screenshot (191)

I normalised the data by breaking the data into the groups belowScreenshot (184)

... 1 costumer table 2 Location 3 product table 4 sales rep table. this tables are called dimension table. The sales data contains unique keys(fAct table) that are both presents in the dimension table like the costumer id and so on...

After normalizing the data i head to powebi to open the data image

I did some transormation on the product table data to change the first row to header and close and apply. i then click on the model view tab in ecxel and finally connect the keys in the dimension tables to the fact table Screenshot (190)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published