0% found this document useful (0 votes)
0 views1 page

1

This guide provides a step-by-step process for data cleaning and creating DAX measures in Power BI. It covers accessing Power Query Editor, removing unnecessary columns, handling null values, converting data types, adding a duration column, and writing key DAX measures. Final tips include renaming tables and using formatting for improved visuals.

Uploaded by

Arindam Sen
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)
0 views1 page

1

This guide provides a step-by-step process for data cleaning and creating DAX measures in Power BI. It covers accessing Power Query Editor, removing unnecessary columns, handling null values, converting data types, adding a duration column, and writing key DAX measures. Final tips include renaming tables and using formatting for improved visuals.

Uploaded by

Arindam Sen
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/ 1

Power BI: Data Cleaning & DAX Measures Guide

Step 1: Access Power Query Editor


1. Open Power BI Desktop.
2. Click on the 'Home' tab.
3. Select 'Transform Data' to open Power Query Editor.
Screenshot Placeholder: Power BI Home tab with 'Transform Data' highlighted.
Step 2: Remove Unnecessary Columns
Right-click on any irrelevant column and select 'Remove'.
Screenshot Placeholder: Column right-click menu with 'Remove'.
Step 3: Handle Null or Missing Values
Click the filter dropdown of each column. Look for '(null)' values. Use 'Replace
Values' to clean or filter them out.
Screenshot Placeholder: Filter dropdown showing nulls.
Step 4: Convert Column Data Types
Right-click a column and choose 'Change Type'. Set appropriate types (Date, Whole
Number, Text).
Screenshot Placeholder: Change Type context menu.
Step 5: Add a Duration Days Column
1. Go to 'Add Column' tab.
2. Click 'Custom Column'.
3. Use the formula:

= Duration.Days([Closing date] - [Incoming date])


Screenshot Placeholder: Custom Column editor.
Step 6: Close & Apply
Click 'Close & Apply' to load your cleaned data into Power BI.
Screenshot Placeholder: 'Close & Apply' in Power Query.
Step 7: Write Key DAX Measures
1. Go to 'Data View' (middle icon in the left pane).
2. Select your table.
3. Go to 'Modeling' > 'New Measure'.
• 🔹 Total Reports:
= COUNTROWS('YourTableName')
• 🔹 Open Reports:
= CALCULATE(COUNTROWS('YourTableName'), 'YourTableName'[Closed/Open Status] =
"Open")
• 🔹 Closed Reports:
= CALCULATE(COUNTROWS('YourTableName'), 'YourTableName'[Closed/Open Status] =
"Closed")
• 🔹 Average Lead Time:
= AVERAGE('YourTableName'[Lead time])
• 🔹 % Closed:
= DIVIDE([Closed Reports], [Total Reports], 0)
Screenshot Placeholder: Measure editor in Modeling tab.
Step 8: Final Tips
• Rename 'YourTableName' with your actual table name.
• Use Conditional Formatting in visuals for better readability.
• Format cards and visuals with themes for professionalism.

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