Power BI & Tableau Resources
55.7K subscribers
391 photos
18 files
596 links
๐Ÿ†“ Resources to learn Power BI, Tableau & Data Visualisation

Perfect channel to start learning everything about Data Analytics

Admin: @coderfun
Download Telegram
๐—ง๐—ข๐—ฃ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ข๐—จ๐—ฅ๐—ฆ๐—˜๐—ฆ ๐—ง๐—ข ๐—•๐—ข๐—ข๐—ฆ๐—ง ๐—ฌ๐—ข๐—จ๐—ฅ ๐—ฆ๐—ž๐—œ๐—Ÿ๐—Ÿ๐—ฆ ๐—œ๐—ก ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ!

Explore FREE online learning resources to develop in-demand skills and improve your career opportunities!

๐ŸŽ“ Why Explore These Courses?
โœ… Learn valuable professional skills
โœ… Improve your resume
โœ… Build practical knowledge
โœ… Learn at your own pace

๐—˜๐˜…๐—ฝ๐—น๐—ผ๐—ฟ๐—ฒ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—›๐—ฒ๐—ฟ๐—ฒ๐Ÿ‘‡

https://pdlink.in/3VBdt6V

๐Ÿ’ก Learn New Skills โ†’ Build Confidence โ†’ Unlock Career Opportunities!
โค2
๐Ÿ“Š Power BI Learning Roadmap โ€” Part 4

Topic 10: Merge Queries and Append Queries in Power Query

When working with real-world data, you rarely get everything in one table.

You may have:

โ€ข Sales data in one table

โ€ข Product information in another

โ€ข Customer information in another

โ€ข Monthly sales in separate files

Power Query provides two important features to combine these datasets:

1. Merge Queries

2. Append Queries

The key difference is simple:

โ€ข Merge Queries = add columns from another table

โ€ข Append Queries = add rows from another table

1. Merge Queries

Merge Queries is used when you want to combine two tables based on a common column.

It is similar to a JOIN in SQL or a lookup such as XLOOKUP in Excel.

Example

Sales table:

ProductID Quantity Sales

P101 10 5000

P102 5 3000

P103 8 6400

Products table:

ProductID ProductName Category

P101 Laptop Electronics

P102 Mouse Accessories

P103 Keyboard Accessories

Both tables contain ProductID. We can merge them using ProductID.

After merging and expanding:

ProductID Quantity Sales ProductName Category

P101 10 5000 Laptop Electronics

P102 5 3000 Mouse Accessories

P103 8 6400 Keyboard Accessories

2. How to Merge Queries

In Power Query:

1. Select the first table.

2. Go to Home.

3. Select Merge Queries.

4. Select the second table.

5. Select the matching column in both tables.

6. Choose the Join Kind.

7. Click OK.

8. A new column containing a table will appear.

9. Click the Expand button.

10. Select the columns you want to bring into the first table.

3. Join Keys

The column used to match two tables is called a key.

For example:

ProductID

Both tables should have compatible data types. If one table has ProductID = Text and the other has ProductID = Number, the merge may not work as expected.

Always check the data type before merging.

4. Types of Joins

Left Outer

Keeps every row from the first table and brings matching rows from the second table. This is one of the most commonly used joins.

Inner

Keeps only rows that have a match in both tables.

Right Outer

Keeps all rows from the second table and matching rows from the first table.

Full Outer

Keeps all rows from both tables. Matching rows are combined, while unmatched rows are also retained.

Left Anti

Returns rows from the first table that do NOT have a match in the second table. This is extremely useful for finding missing records.

Example: If Sales has P101, P102, P103, P104 and Products has P101, P102, P103, Left Anti identifies P104.

Right Anti

The opposite of Left Anti. It identifies records that exist in the second table but not in the first.

5. A Very Important Problem: Duplicate Keys

Suppose your Products table contains:

P101 Laptop

P101 Laptop - New

And your Sales table contains P101 5000

If you merge these tables, Power Query may produce multiple rows for P101. This can unintentionally increase your row count. So before merging, understand whether your key is unique.

6. Append Queries

Append is completely different from Merge. Append combines tables by stacking rows.

Example:

January Sales: Laptop 5000, Mouse 2000

February Sales: Laptop 6000, Mouse 2500

After Append: All rows stacked vertically.

7. Append Two Queries
โค1
If you have two tables: January Sales and February Sales

Use: Home โ†’ Append Queries โ†’ Append Queries as New

Then select the two queries.

8. Append Three or More Queries

You can also append more than two tables, for example January to June. All can be combined into one Sales table. This is useful when monthly data is stored separately.

9. What If Column Names Are Different?

Suppose January contains Product Sales and February contains Product Revenue. Power Query treats Sales and Revenue as different columns, resulting in null values. So before appending, make sure equivalent columns have consistent names.

10. Merge vs Append

Merge

You have Sales (ProductID | Sales) and Products (ProductID | ProductName | Category). You want ProductID | Sales | ProductName | Category. You are adding columns. Use Merge.

Append

You have January Sales (Product | Sales) and February Sales (Product | Sales). You want one larger table containing all records. You are adding rows. Use Append.

11. Real-World Example

Imagine you work for a bank. You receive transaction files every month: Jan_Transactions.csv, Feb_Transactions.csv, Mar_Transactions.csv.

Each file contains Transaction ID, Account ID, Date, Amount, Currency. You can append all three files into one transaction table.

Then you have a separate Account Master table with Account ID, Customer Name, Region, Account Type.

You can merge the Account Master into the transaction table using Account ID.

12. Common Mistakes

Mistake 1: Choosing the wrong key

Using Customer Name instead of Customer ID can create unreliable matches. Prefer stable identifiers such as CustomerID, AccountID, ProductID.

Mistake 2: Different data types

Text and Number columns cannot reliably match. Check the data type before merging.

Mistake 3: Duplicate keys

Duplicate keys in the lookup table can multiply rows. Always investigate unexpected row-count increases.

Mistake 4: Wrong Join Kind

Choosing Inner instead of Left Outer can cause unmatched records to disappear.

Mistake 5: Appending inconsistent columns

If one file calls a column Sales and another calls it Revenue, Power Query treats them as separate columns. Standardize column names before appending.

๐Ÿงช Practical Exercise

Create these three tables.

Sales: P101 5000, P102 3000, P103 7000

Products: P101 Laptop Electronics, P102 Mouse Accessories, P103 Keyboard Accessories

January: P101 5000, P102 3000

February: P101 6000, P102 3500

Try to:

1. Merge Sales with Products.

2. Bring ProductName and Category into Sales.

3. Append January and February.

4. Check the final row count.

5. Try a Left Anti join and identify products missing.

๐ŸŽฏ Double Tap โค๏ธ For More
โค7
๐——๐—ฎ๐˜๐—ฎ ๐˜€๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ช๐—ถ๐˜๐—ต ๐—”๐—œ๐Ÿ˜

Future Ready Data Science and AI Skills You Build

->Build Python, Machine Learning, and AI Skills
->Get Mentored by Industry Experts
->Practice with Mock Interviews
->Ace Your Placements & Land Dream Tech Job

๐Ÿค 500+ Partner Companies |๐ŸŽ“ 2000+ Students Placed

๐Ÿ”— ๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—ก๐—ผ๐˜„ ๐Ÿ‘‡ :-

https://pdlink.in/47pezFz

๐Ÿ“ฒ Save & Share with Friends Preparing for Data Science & AI Jobs!
๐—œ๐—•๐—  ๐—™๐—ฅ๐—˜๐—˜ ๐—ง๐—˜๐—–๐—› ๐—–๐—ข๐—จ๐—ฅ๐—ฆ๐—˜๐—ฆ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ! ๐ŸŽ“

Explore IBM Cognitive Class and build in-demand tech skills without spending money on course fees!

๐Ÿ“š ๐—ง๐—ผ๐—ฝ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜๐—ผ ๐—˜๐˜…๐—ฝ๐—น๐—ผ๐—ฟ๐—ฒ:-

๐Ÿ’ซ Artificial Intelligence & Machine Learning
๐Ÿ”ฅPython for Data Science
๐Ÿ“Š Data Science Fundamentals
โ˜๏ธ Cloud Computing & Big Data

๐Ÿ”— ๐—ฆ๐˜๐—ฎ๐—ฟ๐˜ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—›๐—ฒ๐—ฟ๐—ฒ ๐Ÿ‘‡

https://pdlink.in/4zGswuX

๐Ÿ“ฒ Save & Share with friends preparing for tech careers! ๐Ÿ”ฅ
๐Ÿ“Š Power BI Learning Roadmap โ€” Part 4

Topic 12: Power Query M Language

Until now, we have mostly used the Power Query interface to clean and transform data.

But behind almost every transformation you perform in Power Query, there is code.

That language is called M.

Understanding M doesn't mean you need to become a programmer. You just need to understand how Power Query represents the transformations you perform.

1. What is M Language?

M is the language used by Power Query for data transformation.

For example, when you:

โ€ข Remove columns

โ€ข Filter rows

โ€ข Change data types

โ€ข Rename columns

โ€ข Add custom columns

โ€ข Merge queries

โ€ข Append queries

โ€ข Group data

Power Query creates M code for those actions.

You can see this code in:

View โ†’ Advanced Editor

2. A Simple M Example

Suppose your table contains:

Product Sales

Laptop 10000

Mouse 3000

Keyboard 5000

If you filter Sales greater than 4000, Power Query generates an M expression similar to:

Table.SelectRows(Source, each [Sales] > 4000)


This means:

Take the Source table and keep rows where Sales is greater than 4000.

You don't have to memorize this immediately.

The goal is to understand what the code is doing.

3. Power Query Steps Are M Code

When you perform transformations, Power Query creates individual steps.

For example:

Source

Changed Type

Removed Columns

Filtered Rows

Renamed Columns

Each step represents a transformation.

The formula bar can show the M expression behind the selected step.

This is one of the easiest ways to learn M.

Instead of starting with programming syntax, perform a transformation and observe the code Power Query generates.

4. The let and in Structure

A typical Power Query query looks like:

let
Source = Excel.Workbook(File.Contents("Sales.xlsx")),
SalesData = Source{[Item="Sales"]}[Data],
ChangedType = Table.TransformColumnTypes(
SalesData,
{{"Sales", type number}}
)
in
ChangedType


Don't worry about every part yet.

The important idea is:

let
Step 1,
Step 2,
Step 3
in
Final Step


Power Query performs the steps in sequence and returns the step specified after in.

5. Understanding a Step

Consider:

FilteredRows =
Table.SelectRows(Source, each [Sales] > 5000)


There are two important parts.

Step name

FilteredRows

This is the name of the step.

Transformation

Table.SelectRows(Source, each [Sales] > 5000)

This tells Power Query what transformation to perform.

6. Common M Functions

You will frequently encounter functions such as:

Table.SelectRows

Used to filter rows.

Table.SelectRows(Source, each [Sales] > 5000)


Table.RemoveColumns

Used to remove columns.

Table.RemoveColumns(Source, {"Region"})


Table.RenameColumns

Used to rename columns.

Table.RenameColumns(Source, {{"Sales", "Revenue"}})


Table.AddColumn

Used to create a new column.

Table.AddColumn(Source, "Profit", each [Sales] - [Cost])
These functions become much easier to understand once you recognize the pattern.

7. The each Keyword

You will see each frequently in Power Query.

For example:

each [Sales] > 5000

It means the expression should be evaluated for each row.

Another example:

each [Quantity] * [Price]

This calculates the result for every row.

If:

Quantity = 10

Price = 500

then:

10 ร— 500 = 5000

8. Column References

In M, a column can commonly be referenced like:

[Sales]

For example:

each [Sales] * 1.18

This calculates a value using the Sales column.

For column names containing spaces or special characters, you may see syntax such as:

[#"Sales Amount"]

You don't need to memorize this immediately. Power Query usually generates the correct syntax for you.

9. M Is Case-Sensitive

M language is case-sensitive.

For example:

Sales

and

sales

are not necessarily treated as the same identifier.

Similarly, function names need to be written correctly.

This is one reason copying and modifying existing M code is often easier than writing everything from scratch.

10. Editing M Code

You can modify M code directly using:

View โ†’ Advanced Editor

For example, you might change:

[Sales] > 5000

to:

[Sales] > 10000

This changes the filtering condition.

However, don't edit M code blindly.

If you change a step incorrectly, later steps may stop working.

11. Why Learn M If Power Query Has a GUI?

The interface is enough for many common transformations.

But M becomes useful when:

โ€ข A transformation isn't easily available through the interface

โ€ข You need dynamic logic

โ€ข You want to reuse code

โ€ข You need parameters

โ€ข You want to create custom functions

โ€ข You need more control over transformations

โ€ข You want to troubleshoot query errors

Think of the GUI as the easy way to build transformations.

M gives you deeper control over those transformations.

12. M vs DAX

This is an important distinction.

Power Query M

Used mainly for:

โ€ข Extracting data

โ€ข Cleaning data

โ€ข Transforming data

โ€ข Combining data

โ€ข Preparing data before loading

DAX

Used mainly for:

โ€ข Measures

โ€ข Calculated columns

โ€ข Calculations within the data model

โ€ข Analysis and reporting

For example:

Removing unnecessary columns:

Use Power Query.

Creating:

Total Sales = SUM(Sales[SalesAmount])

Use DAX.

๐Ÿงช Practical Exercise

Take a simple Sales table containing:

Product Quantity Price

Laptop 2 50000

Mouse 5 1000

Keyboard 3 2000

In Power Query:

1. Change the data types.

2. Add a Revenue column.

3. Filter Revenue greater than 5000.

4. Rename the Revenue column.

5. Open the formula bar.

6. Look at the M code generated for each step.

7. Open Advanced Editor.

8. Identify the let and in sections.

๐ŸŽฏ Key Takeaway

M is the language behind Power Query transformations.

You don't need to learn all of M at once.

Start by performing transformations through the interface, then study the M code Power Query generates.

This approach makes M much easier to learn because you already understand what the code is supposed to accomplish.

Double Tap โค๏ธ For More
โค4
๐Ÿฐ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—ง๐—ผ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—–๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ˜

โœ… 100% FREE YouTube Learning
โœ… Beginner-Friendly Programming Tutorials
โœ… Learn Popular & In-Demand Tech Skills
โœ… Study at Your Own Pace
โœ… Build a Strong Foundation for Coding Interviews

๐Ÿ”— ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ ๐—”๐—Ÿ๐—Ÿ ๐Ÿฐ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐Ÿ‘‡:-

https://pdlink.in/3WcuMvi

โšก Your coding journey can start todayโ€”completely FREE!
๐—ง๐—”๐—ง๐—” ๐—™๐—ฅ๐—˜๐—˜ ๐— ๐—œ๐—–๐—ฅ๐—ข-๐—œ๐—ก๐—ง๐—˜๐—ฅ๐—ก๐—ฆ๐—›๐—œ๐—ฃ๐—ฆ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ! ๐ŸŽ“

โœ… 100% FREE Learning Experience
โœ… Short Programs โ€” Approximately 4โ€“6 Hours
โœ… Practical, Real-World Tasks
โœ… Self-Paced & Online
โœ… Certificate Opportunities for Your Resume & LinkedIn
โœ… No Traditional Interview Process

๐Ÿ”— ๐—˜๐˜…๐—ฝ๐—น๐—ผ๐—ฟ๐—ฒ ๐—ง๐—”๐—ง๐—” ๐—™๐—ฅ๐—˜๐—˜ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ-๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ป๐˜€๐—ต๐—ถ๐—ฝ๐˜€๐Ÿ‘‡:-

https://pdlink.in/4yWgaPn

โšก Don't wait for your first job to start gaining practical experience!
๐Ÿ“Š Power BI Learning Roadmap โ€” Part 4

Topic 13: Custom M Functions

After learning the basics of M language, the next important concept is Custom Functions.

Custom functions allow you to write a transformation once and reuse it multiple times.

This becomes very useful when you have many files or tables that need the same transformation logic.

1. What Is a Custom Function?

A custom function is a reusable piece of M code that accepts an input and returns an output.

For example, suppose you frequently need to calculate:

Price + 18% GST

Instead of writing the calculation separately for every query, you can create a function.

Conceptually:

Input: Price

Function: Price ร— 1.18

Output: Price including GST

If the input is โ‚น1,000:

1000 ร— 1.18 = 1180

2. Why Use Custom Functions?

Imagine you receive 12 monthly files.

Every file requires the same transformations:

โ€ข Remove unnecessary columns

โ€ข Change data types

โ€ข Clean product names

โ€ข Calculate revenue

โ€ข Standardize dates

You could repeat the same steps manually.

But with a custom function, you can define the transformation once and apply it to each input.

This saves time and makes your Power Query solution easier to maintain.

3. Basic Function Structure

A simple M function can look like:

(price as number) as number =>
price * 1.18


Here:

price is the input.

as number specifies the input data type.

price * 1.18 is the calculation.

The final as number specifies the output type.

4. Using the Function

Suppose your function is called:

AddGST

You could use it like:

AddGST(1000)

Result:

1180

Another example:

AddGST(5000)

Result:

5900

The same logic can be reused with different values.

5. Functions Can Accept Multiple Inputs

A function doesn't have to accept only one parameter.

For example:

(price as number, taxRate as number) as number =>
price * (1 + taxRate)
Now you can provide both the price and tax rate.

For example:

CalculatePrice(1000, 0.18)

Result:

1180

And:

CalculatePrice(1000, 0.05)

Result:

1050

The function becomes more flexible.

6. Custom Functions with Tables

Custom functions become especially powerful when working with tables.

Imagine you receive these files:

January.xlsx

February.xlsx

March.xlsx

April.xlsx

Each file contains raw sales data.

You want every file to go through the same cleaning process.

You can create a function such as:

TransformSalesFile

The function can:

1. Receive a file.

2. Extract the required table.

3. Remove unnecessary columns.

4. Rename columns.

5. Change data types.

6. Clean the data.

7. Return the transformed table.

You can then apply the function to multiple files.

7. Custom Function Workflow

A common workflow is:

Files โ†’ Function โ†’ Cleaned Tables โ†’ Combined Dataset

For example:

Jan.xlsx

Feb.xlsx

Mar.xlsx

Each file is passed through the same transformation function.

The result is a consistent dataset ready for analysis.

This is one of the most useful applications of custom functions in Power Query.

8. Creating a Function from an Existing Query

Power Query can also help you create a function from an existing query.

A common approach is:

1. Build the transformation for one sample file.

2. Turn the query into a function.

3. Define the input parameter.

4. Apply the function to other files.

This is much easier than manually writing the entire function from scratch.

9. Function vs Parameter

These two concepts can sometimes be confused.

Parameter

A parameter stores a value that can change.

Example:

MinimumSales = 5000

Function

A function performs an operation using one or more inputs.

Example:

CalculateProfit(Sales, Cost)

So:

Parameter = value

Function = reusable logic

10. Real-World Example

Suppose your company receives employee files from different branches.

Each file contains:

Name Salary Department

Rahul 50000 Sales

Priya 60000 HR

Every file needs the same cleaning:

โ€ข Remove blank rows

โ€ข Standardize department names

โ€ข Change Salary to number

โ€ข Trim employee names

Instead of repeating these steps for every branch, create:

CleanEmployeeFile

Then apply that function to every branch file.

If you later modify the cleaning logic, you can update the function rather than rebuilding the transformation for every file.

11. Important: Functions Need Consistent Inputs

A custom function works best when the input structure is predictable.

For example, if your function expects:

โ€ข Name

โ€ข Salary

โ€ข Department

but one file contains:

โ€ข EmployeeName

โ€ข Pay

โ€ข Team

the function may fail.

Therefore, when working with multiple files, make sure the files have a consistent structure or build logic to handle differences.

12. Common Mistakes

Mistake 1: Creating a function for everything

Not every transformation needs a custom function.

Use functions when the same logic needs to be reused.

Mistake 2: Wrong input data type

If your function expects a number but receives text, the function may produce an error.

Mistake 3: Inconsistent file structures

Different column names or missing columns can break a function.
โค2
Mistake 4: Not testing the function

Always test your function with a few inputs before applying it to hundreds of files.

๐Ÿงช Practical Exercise

Create a simple function that calculates profit margin.

Use:

โ€ข Sales

โ€ข Cost

Formula:

(Sales - Cost) / Sales

For example:

Sales = โ‚น10,000

Cost = โ‚น7,000

Profit Margin:

(10000 - 7000) / 10000

= 0.30

= 30%

Then test your function with different Sales and Cost values.

After that, think about how you could use the same concept to transform multiple monthly files.

๐ŸŽฏ Key Takeaway

Custom M Functions allow you to write transformation logic once and reuse it many times.

They are particularly valuable when working with multiple files that require the same cleaning and transformation steps.

Double Tap โค๏ธ For More
โค4
๐— ๐—œ๐—–๐—ฅ๐—ข๐—ฆ๐—ข๐—™๐—ง ๐—™๐—ฅ๐—˜๐—˜ ๐——๐—”๐—ง๐—” ๐—ฆ๐—–๐—œ๐—˜๐—ก๐—–๐—˜ ๐—ฅ๐—˜๐—ฆ๐—ข๐—จ๐—ฅ๐—–๐—˜๐—ฆ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ! ๐ŸŽ“

Microsoft offers valuable FREE learning resources to help you develop in-demand technical skills! ๐Ÿ’ป

โœ… 100% FREE Learning Resources
โœ… Beginner-Friendly Tutorials
โœ… Self-Paced Learning
โœ… Practical Skills for Real-World Projects
โœ… Useful for Data Analytics & Data Science Career Preparation

๐Ÿ”— ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ ๐—”๐—Ÿ๐—Ÿ ๐Ÿฐ ๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐Ÿ‘‡:-

https://pdlink.in/4k6ylNq

โšก Your Data Science journey can start today โ€” completely FREE!
โค1
๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ & ๐— ๐—ฎ๐—ฐ๐—ต๐—ถ๐—ป๐—ฒ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—™๐—ฅ๐—˜๐—˜ ๐—ข๐—ป๐—น๐—ถ๐—ป๐—ฒ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐—ฐ๐—น๐—ฎ๐˜€๐˜€ ๐Ÿ“Š

Build a strong foundation in Data Science .Explore Machine Learning and Deep Learning

Eligibility :- Students โ€ข Freshers โ€ข Working Professionals

๐Ÿ“… Date:- 23 October 2026
โฐ Time:- 7:00 PMโ€“9:00 PM IST
๐Ÿ’ป Mode:- Online

๐Ÿ”— ๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡ :-

https://pdlink.in/4i8MKGn

๐Ÿ“ข Share this opportunity with your friends and classmates.
โค3
๐Ÿš€๐— ๐—”๐—ฆ๐—ง๐—˜๐—ฅ ๐—˜๐—ซ๐—–๐—˜๐—Ÿ ๐—™๐—ข๐—ฅ ๐—™๐—ฅ๐—˜๐—˜ ๐—œ๐—ก ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ! ๐Ÿ“Š

Discover 4 FREE Websites to learn Microsoft Excel from beginner to advanced level! ๐ŸŽ“

๐Ÿ”ฅ FREE Learning Resources
๐Ÿ”ฅ Beginner to Advanced Tutorials
๐Ÿ”ฅ Practical Examples & Exercises
๐Ÿ”ฅ Learn Anytime, Anywhere

๐Ÿ”— ๐—Ÿ๐—ถ๐—ป๐—ธ๐Ÿ‘‡:-

https://pdlink.in/4jDfcCP

โšก One powerful skill can open doors to multiple career opportunities!
๐Ÿคฃ1
๐— ๐—”๐—ฆ๐—ง๐—˜๐—ฅ ๐—ฆ๐—ค๐—Ÿ ๐—™๐—ข๐—ฅ ๐—™๐—ฅ๐—˜๐—˜ ๐—œ๐—ก ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐Ÿ“Š

๐Ÿ”ฅ Essential Skill for Data Analytics
๐Ÿ”ฅ Useful for Data Science & Backend Development
๐Ÿ”ฅ Practice Real-World Database Queries
๐Ÿ”ฅ Strengthen Your Technical Interview Skills

๐ŸŽฏ Perfect For:- Students | Freshers | Job Seekers | Working Professionals

๐Ÿ”— ๐—˜๐˜…๐—ฝ๐—น๐—ผ๐—ฟ๐—ฒ ๐—”๐—Ÿ๐—Ÿ ๐Ÿฑ ๐—™๐—ฅ๐—˜๐—˜ ๐—ฆ๐—ค๐—Ÿ ๐—ช๐—ฒ๐—ฏ๐˜€๐—ถ๐˜๐—ฒ๐˜€ ๐Ÿ‘‡:-

https://pdlink.in/4yOlWlh

๐Ÿ“Œ SAVE this post & SHARE it with friends preparing for tech careers!
โค1
๐Ÿ“Š Power BI โ€” Essential DAX Functions with Examples

DAX is used for calculations in the Power BI data model. These are the functions you should learn first.

1. SUM

Adds values from a column.

Total Sales = SUM(Sales[SalesAmount])


Use it when you need the total sales amount.

2. AVERAGE

Returns the average value.

Average Sales = AVERAGE(Sales[SalesAmount])


3. COUNT

Counts numeric values.

Order Count = COUNT(Sales[OrderID])


4. COUNTROWS

Counts the number of rows in a table.

Total Orders = COUNTROWS(Sales)


This is often more useful than COUNT when you want to count records.

5. DISTINCTCOUNT

Counts unique values.

Unique Customers = DISTINCTCOUNT(Sales[CustomerID])


If the same customer made 10 orders, they are counted only once.

6. MIN and MAX

Find the minimum and maximum values.

Minimum Sale = MIN(Sales[SalesAmount])

Maximum Sale = MAX(Sales[SalesAmount])


๐Ÿ”น Logical Functions

7. IF

Returns one result when a condition is TRUE and another when it is FALSE.

Sales Category =
IF(
[Total Sales] >= 100000,
"High",
"Low"
)


8. SWITCH

Useful when you have multiple conditions.

Sales Rating =
SWITCH(
TRUE(),
[Total Sales] >= 500000, "Excellent",
[Total Sales] >= 250000, "Good",
[Total Sales] >= 100000, "Average",
"Low"
)


For multiple conditions, SWITCH(TRUE()) is often cleaner than deeply nested IF statements.

9. AND / OR

Eligible =
IF(
Sales[Amount] > 10000 &&
Sales[Status] = "Completed",
"Yes",
"No"
)


&& means AND.

|| means OR.

๐Ÿ”น Filter Functions

10. CALCULATE

One of the most important DAX functions.

It evaluates an expression under a modified filter context.

Online Sales =
CALCULATE(
[Total Sales],
Sales[Channel] = "Online"
)


This calculates Total Sales only for Online transactions.

Understanding CALCULATE is essential for advanced DAX.

11. FILTER

Creates a filtered table.

High Value Sales =
CALCULATE(
[Total Sales],
FILTER(
Sales,
Sales[SalesAmount] > 10000
)
)


FILTER is especially useful when the filtering condition is more complex.

12. ALL

Removes filters from a table or column.

Total Sales All Regions =
CALCULATE(
[Total Sales],
ALL(Sales[Region])
)


This can be used to calculate a value against the overall total regardless of the Region filter.

13. REMOVEFILTERS

Explicitly removes filters.

Total Sales =
CALCULATE(
[Total Sales],
REMOVEFILTERS(Sales[Region])
)


This is often clearer than using ALL when your intention is simply to remove a filter.

14. ALLEXCEPT

Removes filters except those specified.

Sales By Region =
CALCULATE(
[Total Sales],
ALLEXCEPT(Sales, Sales[Region])
)


Useful when you want to preserve a particular grouping while removing other filters.

๐Ÿ”น Relationship Functions

15. RELATED

Retrieves a value from a related table.

Suppose:

Sales[ProductID]

is related to:

Products[ProductID]

You can write:

Product Category =
RELATED(Products[Category])


This is mainly used in calculated columns.

16. RELATEDTABLE

Returns the related rows from another table.

It is particularly useful when working from the one-side table toward the many-side table.

Example:
โค1
Product Sales =
SUMX(
RELATEDTABLE(Sales),
Sales[SalesAmount]
)


๐Ÿ”น Iteration Functions

Functions ending in X are called iterator functions.

17. SUMX

Calculates an expression row by row and then adds the results.

Total Revenue =
SUMX(
Sales,
Sales[Quantity] * Sales[Price]
)


If a row has:

Quantity = 5

Price = 1000

Revenue for that row = 5000.

SUMX then adds the results across all rows.

18. AVERAGEX

Calculates an expression for each row and returns the average.

Average Revenue =
AVERAGEX(
Sales,
Sales[Quantity] * Sales[Price]
)


19. COUNTX

Counts the results of an expression.

Product Count =
COUNTX(
Sales,
Sales[ProductID]
)


๐Ÿ”น Date & Time Functions

20. YEAR / MONTH / DAY

Sales Year = YEAR(Sales[OrderDate])

Sales Month = MONTH(Sales[OrderDate])

Sales Day = DAY(Sales[OrderDate])


Useful for extracting date components.

21. TODAY

Returns today's date.

Today Date = TODAY()


22. DATE

Creates a date.

Start Date = DATE(2026, 1, 1)


๐Ÿ”น Time Intelligence

Once you have a proper Date table, these become extremely important.

23. TOTALYTD

Calculates year-to-date values.

YTD Sales =
TOTALYTD(
[Total Sales],
'Date'[Date]
)


24. TOTALMTD

Calculates month-to-date values.

MTD Sales =
TOTALMTD(
[Total Sales],
'Date'[Date]
)


25. SAMEPERIODLASTYEAR

Compares the current period with the same period last year.

Sales LY =
CALCULATE(
[Total Sales],
SAMEPERIODLASTYEAR('Date'[Date])
)


26. DATEADD

Moves a date context forward or backward.

Previous Month Sales =
CALCULATE(
[Total Sales],
DATEADD('Date'[Date], -1, MONTH)
)


๐Ÿ”น Ranking Functions

27. RANKX

Ranks values.

Product Rank =
RANKX(
ALL(Products[ProductName]),
[Total Sales],
,
DESC
)


This ranks products from highest to lowest based on sales.

๐Ÿ”น Useful Text Functions

28. CONCATENATE

Combines text values.

Customer Name =
CONCATENATE(
Customers[FirstName],
Customers[LastName]
)


However, the & operator is usually simpler:

Customer Name =
Customers[FirstName] & " " & Customers[LastName]


29. FORMAT

Formats a value as text.

Sales Label =
FORMAT([Total Sales], "โ‚น#,##0")


Be careful: FORMAT returns text, not a numeric value.

๐ŸŽฏ Double Tap โค๏ธ For More
โค7
๐—ง๐—ข๐—ฃ ๐Ÿฑ ๐—™๐—ฅ๐—˜๐—˜ ๐—ง๐—˜๐—–๐—› ๐—–๐—ข๐—จ๐—ฅ๐—ฆ๐—˜๐—ฆ ๐—œ ๐—ช๐—œ๐—ฆ๐—› ๐—œ ๐—›๐—”๐—— ๐—ง๐—”๐—ž๐—˜๐—ก ๐—ฆ๐—ข๐—ข๐—ก๐—˜๐—ฅ! ๐Ÿ’ป๐ŸŽ“

Discover 5 FREE tech courses to kick-start your learning journey and strengthen your resume. ๐Ÿš€

โœ… Learn Valuable Technical Skills
โœ… Beginner-Friendly Learning Resources
โœ… Build Practical Knowledge
โœ… Strengthen Your Resume & Portfolio
โœ… Prepare for Tech Career Opportunities

๐Ÿ’ก The best investment you can make in 2026 is upgrading your skills!

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡ :-

https://pdlink.in/4Bw1PL9

โšก Start learning today. Your future self will thank you!
๐—”๐—œ ๐—™๐—ฅ๐—˜๐—˜ ๐—ข๐—ป๐—น๐—ถ๐—ป๐—ฒ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐—ฐ๐—น๐—ฎ๐˜€๐˜€ | ๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ˜

AI is changing the way we learn and work. Ready to take your first step?

- Learn the Skills, Hiring Trends, and Preparation Strategies That Matter

๐ŸŽ“ Students | ๐Ÿ’ผ Working Professionals | ๐Ÿ’ก AI Enthusiasts

๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡ :-

https://pdlink.in/4BAxISK

Date:- 31st October 2026 Time:- 5:00 PM (IST)

๐Ÿ’ซShare this opportunity with your friends and classmates.