Get Mystery Box with random crypto!

Data Analysts

Logo saluran telegram sqlspecialist — Data Analysts D
Logo saluran telegram sqlspecialist — Data Analysts
Alamat saluran: @sqlspecialist
Kategori: Tidak terkategori
Bahasa: Bahasa Indonesia
Pelanggan: 54.09K
Deskripsi dari saluran

Perfect channel to learn Data Analytics
Learn SQL, Python, Alteryx, Tableau, Power BI and many more
For Promotions: @coderfun
Buy ads: https://telega.io/c/sqlspecialist

Ratings & Reviews

3.00

3 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

0

4 stars

2

3 stars

0

2 stars

0

1 stars

1


Pesan-pesan terbaru

2024-05-29 07:58:47 SQL Interview Preparation Part-2

How to use window functions and CTEs to solve SQL interview questions?

1. Common Table Expressions (CTEs):

CTEs are temporary result sets that you can reference within a SELECT, INSERT, UPDATE, or DELETE statement. They help break down complex queries and improve readability.

Syntax:
WITH cte_name AS (
SELECT column1, column2
FROM table_name
WHERE condition
)
SELECT column1, column2
FROM cte_name
WHERE another_condition;
Example Problem:
Find the top 3 highest-paid employees in each department.

Solution Using CTE:
WITH RankedSalaries AS (
SELECT
employee_id,
department_id,
salary,
ROW_NUMBER() OVER (PARTITION BY department_id ORDER BY salary DESC) AS rank
FROM employees
)
SELECT
employee_id,
department_id,
salary
FROM RankedSalaries
WHERE rank <= 3;
2. Window Functions:

Window functions perform calculations across a set of table rows related to the current row. They do not reduce the number of rows returned.

Common Window Functions:
- ROW_NUMBER(): Assigns a unique number to each row within the partition.
- RANK(): Assigns a rank to each row within the partition, with gaps in ranking for ties.
- DENSE_RANK(): Similar to RANK(), but without gaps.
- SUM(), AVG(), COUNT(), etc., over a partition.

Syntax:
SELECT column1,
column2,
window_function() OVER (PARTITION BY column1 ORDER BY column2) AS window_column
FROM table_name;
Example Problem:
Calculate the running total of sales for each salesperson.

Solution Using Window Function:
SELECT
salesperson_id,
sale_date,
amount,
SUM(amount) OVER (PARTITION BY salesperson_id ORDER BY sale_date) AS running_total
FROM sales;
Combining CTEs and Window Functions:

Example Problem:
Find the cumulative sales per department and the rank of each employee within their department based on their sales.

Solution:
WITH DepartmentSales AS (
SELECT
department_id,
employee_id,
SUM(sales_amount) AS total_sales
FROM sales
GROUP BY department_id, employee_id
),
RankedSales AS (
SELECT
department_id,
employee_id,
total_sales,
RANK() OVER (PARTITION BY department_id ORDER BY total_sales DESC) AS sales_rank
FROM DepartmentSales
)
SELECT
department_id,
employee_id,
total_sales,
sales_rank,
SUM(total_sales) OVER (PARTITION BY department_id ORDER BY sales_rank) AS cumulative_sales
FROM RankedSales;

For those of you who are new to this channel read SQL Basics before going through advanced concepts

Part-1: https://t.me/sqlspecialist/558

Share with credits: https://t.me/sqlspecialist

Like this post if you want me to continue SQL Interview Preparation Series

Hope it helps :)
6.9K views04:58
Buka / Bagaimana
2024-05-28 07:20:45 Requirements for data analyst role based on some jobs from @jobs_sql

Must be proficient in writing complex SQL Queries.

Understand business requirements in BI context and design data models to transform raw data into meaningful insights.

Connecting data sources, importing data, and transforming data for Business intelligence.

Strong working knowledge in Excel and visualization tools like PowerBI, Tableau or QlikView

Developing visual reports, KPI scorecards, and dashboards using Power BI desktop.

Nowadays, recruiters primary focus on SQL & BI skills for data analyst roles. So try practicing SQL & create some BI projects using Tableau or Power BI.

You can refer our Power BI & SQL Series to understand the essential concepts.

Here are some essential telegram channels with important resources:

❯ SQL ➟ t.me/sqlanalyst
❯ Power BI ➟ t.me/PowerBI_analyst
❯ Resources ➟ @learndataanalysis

I am planning to come up with interview series as well to share some essential questions based on my experience in data analytics field.

Like this post if you want me to start the interview series

Hope it helps :)
7.7K viewsedited  04:20
Buka / Bagaimana
2024-05-27 21:19:17 Tableau Learning Series Part-4 Complete Tableau Topics for Data Analysis: https://t.me/sqlspecialist/667 Today, let's learn about Building Basic Visualizations Bar Charts Bar charts are useful for comparing data across categories. 1. Creating a Simple…
Getting too low response on tableau learning series, do you want me to continue it?
Anonymous Poll
28%
No, please start with any other topic
72%
Yes, please finish tableau learning series
549 voters7.3K views18:19
Buka / Bagaimana
2024-05-27 10:15:12 Tableau Learning Series Part-4

Complete Tableau Topics for Data Analysis: https://t.me/sqlspecialist/667

Today, let's learn about Building Basic Visualizations

Bar Charts

Bar charts are useful for comparing data across categories.

1. Creating a Simple Bar Chart:
- Drag a dimension (e.g., Category) to the Columns shelf.
- Drag a measure (e.g., Sales) to the Rows shelf.
- Tableau automatically creates a bar chart.

2. Customizing the Bar Chart:
- Use the Color shelf to color bars by another dimension (e.g., Sub-Category).
- Adjust the Size shelf to change bar thickness.
- Add labels by dragging a measure to the Label shelf.

Line Charts

Line charts are ideal for showing trends over time.

1. Creating a Simple Line Chart:
- Drag a date field (e.g., Order Date) to the Columns shelf.
- Drag a measure (e.g., Sales) to the Rows shelf.
- Tableau creates a line chart automatically if the date field is continuous.

2. Customizing the Line Chart:
- Use the Color shelf to distinguish lines by category (e.g., Region).
- Add markers by checking the "Show Markers" option in the Marks card.
- Adjust the date granularity (e.g., year, quarter, month) by clicking on the date field in the Columns shelf and selecting the desired granularity.

Pie Charts

Pie charts show proportions and percentages of a whole.

1. Creating a Simple Pie Chart:
- Drag a dimension (e.g., Category) to the Columns shelf.
- Drag a measure (e.g., Sales) to the Rows shelf.
- Click on the Show Me panel and select the pie chart icon.
- Move Category to the Color shelf and Sales to the Angle shelf.

2. Customizing the Pie Chart:
- Add labels by dragging the dimension or measure to the Label shelf.
- Adjust the Size shelf to change the size of the pie chart.
- Use the Color shelf to adjust colors for better distinction.

Scatter Plots

Scatter plots show relationships between two measures.

1. Creating a Simple Scatter Plot:
- Drag one measure (e.g., Sales) to the Columns shelf.
- Drag another measure (e.g., Profit) to the Rows shelf.
- Tableau creates a scatter plot automatically.

2. Customizing the Scatter Plot:
- Add a dimension (e.g., Region) to the Color shelf to color code the points.
- Add another dimension to the Detail shelf to distinguish between data points.
- Adjust the Size shelf to change the size of the points.

Histograms

Histograms display the distribution of a single measure.

1. Creating a Histogram:
- Drag a measure (e.g., Sales) to the Columns shelf.
- Right-click the measure in the Columns shelf, select "Create Bins," and set the bin size.
- Drag the newly created bin field to the Columns shelf.
- Drag another measure (e.g., Number of Records) to the Rows shelf.
- Tableau creates a histogram.

2. Customizing the Histogram:
- Adjust bin size by editing the bin field.
- Use the Color shelf to color bins by another dimension.
- Add labels by dragging a measure to the Label shelf.

Geographic Maps

Geographic maps are used to visualize data geographically.

1. Creating a Simple Map:
- Drag a geographic dimension (e.g., State) to the Columns shelf.
- Drag a measure (e.g., Sales) to the Rows shelf.
- Tableau creates a map with filled areas.

2. Customizing the Map:
- Use the Color shelf to color the regions by the measure.
- Add labels by dragging the dimension or measure to the Label shelf.
- Adjust the map style and layers through the Map menu.

## Building Dashboards

Once you have individual visualizations, you can combine them into a dashboard.

1. Creating a Dashboard:
- Click the New Dashboard icon at the bottom of the Tableau workspace.
- Drag sheets from the Sheets pane to the dashboard workspace.
- Arrange and resize the visualizations as needed.

2. Adding Interactivity:
- Use filters, actions, and parameters to make your dashboard interactive.
- Add text boxes, images, and web content for additional context.

Share with credits: https://t.me/sqlspecialist

Like for more such content

Hope it helps :)
8.2K views07:15
Buka / Bagaimana
2024-05-25 04:58:07 Tableau Learning Series Part-3

Complete Tableau Topics for Data Analysis: https://t.me/sqlspecialist/667

Today, let's learn about Data Transformation and Preparation

Effective data transformation and preparation are crucial steps in ensuring that your data is clean, well-structured, and ready for analysis. Tableau provides several tools and features to help with this process.

#### Data Cleaning and Shaping

1. Renaming Fields: Double-click on a field name in the Data pane and give it a meaningful name.
2. Changing Data Types: Right-click on a field, select "Change Data Type," and choose the appropriate data type (e.g., string, number, date).
3. Splitting Fields: Split a field into multiple fields based on a delimiter. Right-click on a field and select "Split" or "Custom Split."
4. Pivoting Data: Convert columns into rows to reshape your data. This is useful for transforming wide data into a long format.
- Select the columns you want to pivot, right-click, and choose "Pivot."

#### Calculated Fields

Calculated fields allow you to create new data from existing data using formulas. Here’s how to create one:

1. Create a Calculated Field:
- Right-click in the Data pane and select "Create Calculated Field."
- Name your field and enter a formula. For example, to calculate a profit margin, you might use:

[Profit] / [Sales]

2. Common Functions:
- String Functions: E.g., LEFT(), RIGHT(), MID(), CONCAT().
- Date Functions: E.g., DATEPART(), DATETRUNC(), DATEDIFF().
- Logical Functions: E.g., IF, THEN, ELSEIF, ELSE, END.
- Aggregate Functions: E.g., SUM(), AVG(), MIN(), MAX().

#### Level of Detail (LOD) Expressions

LOD expressions allow you to control the granularity of your calculations. They are useful for performing complex aggregations and analyses.

1. Types of LOD Expressions:
- Fixed: Calculates the value using the specified dimensions, ignoring other dimensions in the view.

{ FIXED [Region] : SUM([Sales]) }

- Include: Adds dimensions to the view’s level of detail.

{ INCLUDE [Category] : SUM([Sales]) }

- Exclude: Removes dimensions from the view’s level of detail.

{ EXCLUDE [Segment] : SUM([Sales]) }

#### Using Tableau Prep for Data Preparation

Tableau Prep is a tool specifically designed for data preparation, offering an intuitive interface to clean and shape your data.

1. Connecting to Data: Similar to Tableau Desktop, connect to your data sources.
2. Flows: Tableau Prep uses flows, which are sequences of steps (clean, shape, combine, etc.) that you apply to your data.
3. Cleaning Steps:
- Cleaning and Shaping: Perform tasks like renaming fields, changing data types, splitting fields, and pivoting data.
- Union and Join: Combine multiple tables using unions and joins.
- Aggregate and Group: Aggregate data to create summary statistics and group similar values.
4. Output: Once the data is prepared, you can output it to a file or publish it to Tableau Server/Tableau Online for use in Tableau Desktop.

#### Example of Data Preparation in Tableau Prep

1. Start Tableau Prep and connect to your data source (e.g., an Excel file).
2. Add Steps:
- Drag a "Clean Step" to rename fields, split columns, and fix data types.
- Drag a "Join Step" to combine multiple tables.
- Add a "Pivot Step" to reshape data if needed.
3. Output Data:
- Add an "Output Step" and choose the output location and format.
- Run the flow to generate the cleaned data.

Share with credits: https://t.me/sqlspecialist

Like for more such content

Hope it helps :)
5.9K views01:58
Buka / Bagaimana
2024-05-23 22:20:36 Tableau Learning Series Part-2

Complete Tableau Topics for Data Analysis: https://t.me/sqlspecialist/667

Today, let's learn about: Connecting to Data.

#### Types of Data Connections

Tableau can connect to a wide variety of data sources, including:

1. File-based Sources:
- Excel: Connects to .xlsx and .xls files.
- Text Files: Includes CSV, TSV, and other delimited text files.
- JSON Files: Connects to .json files for hierarchical data.
- PDF Files: Extracts tables from PDF documents.
- Spatial Files: Includes .shp, .kml, .geojson, etc.

2. Server-based Sources:
- Relational Databases: Such as SQL Server, MySQL, PostgreSQL, Oracle, and more.
- Cloud Databases: Such as Amazon Redshift, Google BigQuery, Snowflake, and others.
- Web Data Connectors: Allows connection to data available on the web via APIs (e.g., Google Sheets, Salesforce).

3. Extracts: A Tableau Data Extract (.hyper) is a snapshot of your data optimized for performance.

#### Connecting to Live Data vs. Extracts

1. Live Connection: Directly connects to the data source and queries it in real-time. This ensures that the data is always up-to-date but can be slower depending on the data source's performance and network latency.

2. Extracts: A static snapshot of the data that is stored locally. Extracts improve performance and allow for offline access. They need to be refreshed periodically to stay up-to-date with the source data.

#### Data Source Page and Data Preparation

Once you connect to a data source, Tableau takes you to the Data Source page where you can manage and prepare your data before starting your analysis.

1. Data Source Page Layout:
- Connections Pane: Lists all the data sources you are connected to.
- Canvas: Where you can drag and drop tables to create relationships and joins.
- Data Grid: Displays a preview of the data.

2. Data Preparation Tools:
- Joins: Combine tables based on common fields. Types of joins include inner, left, right, and full outer joins.
- Blends: Combine data from different data sources. This is useful when you cannot join tables directly due to different data sources.
- Unions: Stack tables with the same structure on top of each other.
- Pivoting: Reshape your data by pivoting columns into rows, useful for transforming wide data sets into long formats.
- Splitting: Split a single column into multiple columns based on a delimiter.
- Data Interpreter: Helps clean and prepare Excel or CSV data by interpreting the structure and cleaning up the data automatically.

Example: Steps for Connecting to an Excel File

1. Open Tableau Desktop.
2. Connect to Data: On the start page, click "Microsoft Excel" under the Connect pane.
3. Select the File: Browse and select an Excel file (e.g., "Sample - Superstore.xlsx").
4. Data Source Page:
- The sheets in the Excel file will be listed on the left side.
- Drag a sheet (e.g., "Orders") to the canvas.
- Tableau displays a preview of the data in the Data Grid.
- Perform any necessary data preparation steps (e.g., pivoting, splitting).

5. Go to Sheet: Click on the "Sheet 1" tab at the bottom to start building your visualization with the connected data.

Share with credits: https://t.me/sqlspecialist

Like for more such content

Hope it helps :)
7.4K views19:20
Buka / Bagaimana
2024-05-23 05:52:50 Complete Tableau Topics for Data Analysts 1. Introduction to Tableau - Overview of Tableau products (Desktop, Server, Online, Public, Reader) - Installing and setting up Tableau 2. Connecting to Data - Types of data connections (Excel, SQL, CSV…
7.4K viewsedited  02:52
Buka / Bagaimana
2024-05-21 16:14:01 Complete Tableau Topics for Data Analysts

1. Introduction to Tableau
- Overview of Tableau products (Desktop, Server, Online, Public, Reader)
- Installing and setting up Tableau

2. Connecting to Data
- Types of data connections (Excel, SQL, CSV, etc.)
- Connecting to live data vs. Extracts
- Data source page and data preparation (Joins, Blends, Unions)

3. Data Transformation and Preparation
- Data cleaning and shaping
- Pivoting and splitting data
- Data Interpreter
- Calculated fields
- Level of Detail (LOD) expressions
- Using Tableau Prep for data preparation

4. Building Basic Visualizations
- Bar charts, line charts, pie charts
- Scatter plots, histograms, bullet graphs
- Geographic maps and filled maps

5. Advanced Visualizations
- Dual-axis and blended axes
- Combined charts (bar-in-bar, line-in-bar)
- Treemaps, heat maps, and bubble charts
- Gantt charts, box plots, waterfall charts
- Motion charts and control charts

6. Dashboard Creation
- Designing effective dashboards
- Using containers and layout techniques
- Interactive dashboard elements (filters, parameters, actions)
- Device-specific dashboards

7. Table Calculations
- Basics of table calculations
- Quick table calculations (percent of total, running total)
- Custom table calculations (calculating differences, percent change)

8. Advanced Analytics
- Trend lines, reference lines, and reference bands
- Forecasting and clustering
- Integrating R and Python for advanced analytics

9. Interactivity and User Controls
- Filters (dimension filters, measure filters, context filters)
- Parameters (creating and using parameters)
- Dashboard actions (filter actions, highlight actions, URL actions)

10. Performance Optimization
- Extracts vs. live connections
- Data source optimization techniques
- Performance recording and analysis

11. Sharing and Collaboration
- Publishing workbooks to Tableau Server/Online
- Tableau Public for sharing visualizations
- Managing permissions and user access
- Embedding visualizations in web pages

12. Tableau Extensions and API
- Using Tableau extensions for additional functionality
- Introduction to Tableau JavaScript API for embedding and interacting with visualizations

13. Best Practices and Case Studies
- Best practices for data visualization and storytelling
- Real-world case studies and applications of Tableau

14. Certification Preparation
- Preparing for Tableau Desktop Specialist, Certified Associate, and Certified Professional exams

Best Resources to learn Tableau: https://topmate.io/analyst/890464

Like this post if you want me to continue this Tableau series

Share with credits: https://t.me/sqlspecialist

Hope it helps :)
6.0K viewsedited  13:14
Buka / Bagaimana
2024-05-13 20:20:21 Many people pay too much to learn Excel, but my mission is to break down barriers. I have shared complete learning series to learn Excel from scratch.

Here are the links to the Excel series

Complete Excel Topics for Data Analyst: https://t.me/sqlspecialist/547

Part-1: https://t.me/sqlspecialist/617

Part-2: https://t.me/sqlspecialist/620

Part-3: https://t.me/sqlspecialist/623

Part-4: https://t.me/sqlspecialist/624

Part-5: https://t.me/sqlspecialist/628

Part-6: https://t.me/sqlspecialist/633

Part-7: https://t.me/sqlspecialist/634

Part-8: https://t.me/sqlspecialist/635

Part-9: https://t.me/sqlspecialist/640

Part-10: https://t.me/sqlspecialist/641

Part-11: https://t.me/sqlspecialist/644

Part-12:
https://t.me/sqlspecialist/646

Part-13: https://t.me/sqlspecialist/650

Part-14: https://t.me/sqlspecialist/651

Part-15: https://t.me/sqlspecialist/654

Part-16: https://t.me/sqlspecialist/655

Part-17: https://t.me/sqlspecialist/658

Part-18: https://t.me/sqlspecialist/660

Part-19: https://t.me/sqlspecialist/661

Part-20: https://t.me/sqlspecialist/662

Bonus: https://t.me/sqlspecialist/663

I saw a lot of big influencers copy pasting my content after removing the credits. It's absolutely fine for me as more people are getting free education because of my content.

But I will really appreciate if you share credits for the time and efforts I put in to create such valuable content. I hope you can understand.

You can join this telegram channel for more Excel Resources: https://t.me/excel_analyst

Python Learning Series: https://t.me/sqlspecialist/615

Complete SQL Topics for Data Analysts: https://t.me/sqlspecialist/523

Complete Power BI Topics for Data Analysts: https://t.me/sqlspecialist/588

I'll now start with learning series on SQL Interviews & Tableau.

Thanks to all who support our channel and share the content with proper credits. You guys are really amazing.

Hope it helps :)
8.1K views17:20
Buka / Bagaimana
2024-05-13 06:39:02 Since last excel topic was very important, let me try to explain it in detail. This is how you may be expected to work on excel project:

1. Define the Project Scope and Objectives: Start by defining the scope and objectives of your Excel project. What specific problem or question are you trying to address with your data analysis? Clearly define the goals and deliverables of your project to guide your analysis.

2. Data Collection and Preparation:
- Identify Data Sources: Determine where your data will come from. This could include internal databases, external sources, spreadsheets, or manual data entry.
- Data Cleaning and Validation: Clean the data to ensure accuracy and consistency. This involves tasks such as removing duplicates, correcting errors, and validating data against predefined criteria.
- Data Transformation: Prepare the data for analysis by transforming it into a format suitable for Excel. This may involve restructuring the data, combining multiple datasets, or performing calculations to derive new variables.

3. Data Analysis:
- Exploratory Data Analysis (EDA): Use Excel's features such as sorting, filtering, and PivotTables to explore your data and gain insights into patterns, trends, and relationships.
- Statistical Analysis: Apply statistical techniques and formulas to analyze the data. This could include calculating summary statistics, conducting hypothesis tests, or performing regression analysis to model relationships between variables.
- Data Modeling: Use Excel's advanced functions and tools to build predictive models or forecast future trends based on historical data.

4. Data Visualization:
- Charts and Graphs: Create visualizations such as bar charts, line charts, and scatter plots to represent your data visually. Choose the most appropriate chart types to effectively communicate your findings.
- Dashboards: Design interactive dashboards that consolidate key insights and metrics into a single view. Use features like slicers, pivot charts, and dynamic ranges to make your dashboard user-friendly and interactive.

For free Excel resources, you can join this telegram channel: https://t.me/excel_analyst

5. Automation and Efficiency:
- Macros and VBA: Automate repetitive tasks and streamline workflows using macros and VBA (Visual Basic for Applications). Write custom scripts to perform complex calculations, data manipulation, or report generation automatically.
- Keyboard Shortcuts and Productivity Tips: Take advantage of Excel's keyboard shortcuts and productivity tips to work more efficiently. Learn commonly used shortcuts for navigation, selection, editing, and formatting to speed up your workflow.

6. Collaboration and Sharing:
- Shared Workbooks: Share your Excel workbook with team members or stakeholders to facilitate collaboration and decision-making. Use Excel's collaboration features to track changes, leave comments, and communicate effectively within the workbook.
- Interactive Reports: Create interactive reports and presentations that allow users to explore the data and drill down into specific details. Use features like hyperlinks, bookmarks, and data validation to enhance interactivity and usability.

7. Documentation and Reporting:
- Documentation: Document your analysis process, methodology, and assumptions to ensure transparency and reproducibility. Keep track of any changes made to the data or formulas for future reference.
- Reporting: Prepare a comprehensive report or presentation summarizing your findings, insights, and recommendations. Use clear and concise language, visualizations, and supporting evidence to communicate your analysis effectively to stakeholders.

Share with credits: https://t.me/sqlspecialist

Like for more such content

Hope it helps :)
8.0K views03:39
Buka / Bagaimana