Improve Business Decision Making Capabilities using Advanced Analytics/Business Intelligence with PostgreSQL and DAX ??
Data is a precious thing and will last longer than the systems themselves.

Improve Business Decision Making Capabilities using Advanced Analytics/Business Intelligence with PostgreSQL and DAX ??

This was a project based on the issues faced by an organization to deliver the products to Country_1 and Country_2, and due to the increasing tensions and the change of the regulations, the deliveries to Country_3 and Country_4, too. The purpose of this project was set to achieve the real time tracking of the Planned Supply vs the Ongoing Loading as per the plan and the Production Required for the supply with "Treat & Pack" adherence.

>????Thank you for your interest to read further.???

This solution aims at developing a real-time tracker with extra smart visuals for tracking the Plan VS Execution scenario, for "Country_1", "Country_2", "Country_3" and "Country_4".

It leverages rich and diverse priors encapsulated with pretrained?PostgreSQL Queries?---->?DAX?(e.g., DAX Measures) for?Transformation and Load.

Business Intelligence, Dashboard Design, Dashboard Interface for Business???

In the world of Big Data, the need for business intelligence dashboards is widely understood. Most businesses know that they need a central location to gather and display relevant insights to different users. Well-designed dashboards can take complex data and turn it into useful information, while bad dashboards do just the opposite.

But creating a dashboard that is clear, concise, and easy to understand can be a daunting task. With the application of design principles and best practices, any business can create a business intelligence dashboard that provides an overall view of the health of their business, with an opportunity for user engagement as needed.

Why Design and Context is Important in Designing a Business Intelligence Dashboard?

The design and context of a business intelligence dashboard is crucial for increasing user engagement and understanding. The purpose of a dashboard is twofold; the first is to highlight the most important data, and the second is to provide context for that data. Data alone is difficult to interpret.

By providing context, the data tells a story and starts to make sense to the user — they can find meaning, see opportunities for growth, and identify any potential challenges or obstacles in their business. The design and context together give the user an at-a-glance idea of where things are and where they’re headed.

What To Include in a Business Intelligence Dashboard?

Different businesses and industries will require different information displayed on their analytics dashboard. However, some general data sets apply to every business. This data includes the overall budget (year-to-date spending, revenue, and profits), as well as marketing efforts (campaign cost and ROI) and project management (planned vs. completed work).

To determine what you should include in a specific dashboard, identify the current opportunities and obstacles facing your business, design a rough prototype, and refine with user research. Consider searching for visual examples within your industry.

Best Practices for Business Intelligence Dashboard Design!??

Simplify and Summarize Content:?Because business intelligence dashboard design is only for providing a high-level look at business operations, you don’t need to include details of every project. Instead, simplify and summarize the key takeaways from various data sets so users can scan the dashboard quickly and get an idea of what’s going on in the business.

Prioritize Your Insights:?There will always be more data available than space to display it. Prioritize your information so that the dashboard contains only the information that is most relevant to your user. Limit yourself to the top five or ten KPIs (key performance indicators) for your business.

Organize Information Visually:?For a user to engage successfully with a business intelligence dashboard, they must be able to find answers to their questions within five to seven seconds of scanning a page. The better organized the data, the more likely users will be able to find answers quickly. It’s essential to adjust the size of different elements to show which parts of the dashboard are most important.

Consider Device Size:?Many business executives are accessing their real-time dashboards on a desktop computer while they are in the office and on their mobile phones while on the go. Because of the limited size of handheld devices, it’s important to pare down the information included on your dashboard so that only the most vital insights are displayed. Consider creating a specific mobile version of your dashboard to ensure that your data is optimized to display at a smaller size.

Allow for Customization:?Different users will have different needs in accessing the business intelligence professional dashboard. Rather than displaying all the information at once, consider including a filter at the top of the dashboard for users to select what data sets they want to view.

Allow for More Exploration:?The primary purpose of the business intelligence dashboard is to provide users with a high-level view of the business. But many users will want to focus on a particular piece of information, and the dashboard system design should allow them to click, tap, or swipe to reveal more details.

Use Icons to Increase Understanding:?Most users see and understand graphics faster than the written word. Using simple iconography can help them interpret the data more quickly and with less effort. For example, use a dollar sign to represent spending, and computer or laptop to show website traffic.

Choose the Right Type of Data Visualization:?Different types of data are best explained through different types of visualizations. It’s important to select the right kind of data visualization so that the user doesn’t misinterpret the data. To show trends over time, consider a line graph. For comparing two products, consider a table. The right data visualization will help the user draw the right conclusion from the data.

Use Color Effectively:?Color should be used to enhance a data set, not distract or detract from it. Use business brand colors if needed, but also consider using generic colors to provide relevant meaning. For example, clients acquired could be shown in green to indicate positive results, while clients lost could be shown in red to indicate a negative result.

Data visualization and data discovery are the most critical elements of your Business Intelligence (BI) delivery - so they'd better be right.??

My Solution???

In this Power BI End Project, I have investigated multiple dataset's for the Company called?DROPLETS?and analyzed their churn rates. This business case helps to understand, why we are not able to deliver products to the customers, what are the obligations, and how we are handling the uncertainties.

The Overview:

No alt text provided for this image
Scenario 1: The front Page of the Final Dashboard with Navigation Buttons (Due to security reasons few datapoints are hidden).

Supply Plan VS Distribution:

No alt text provided for this image
Scenario 2: The Supply Plan VS Distribution Comparison based on Dynamic Visuals and smart selections (Due to security reasons few datapoints are hidden).

Seasonal Production:

No alt text provided for this image
Scenario 3: The seasonal production based on the treatment and pachaging for the required product lot with Dynamic Visuals and smart selections criterias (Due to security reasons few datapoints are hidden).

Available Inventory:

No alt text provided for this image
Scenario 4: The current available inventory with the restricted and unrestricted quantities for use with Dynamic Visuals and smart selections criterias (Due to security reasons few datapoints are hidden).

Available Supply:

No alt text provided for this image
Scenario 5: The estimated available supply for the planning the requirement adherence, when required, for use with Dynamic Visuals and smart selections criterias (Due to security reasons few datapoints are hidden).

Additional Initiative 1: An FAQ Page

No alt text provided for this image
Scenario 6: An FAQ page available through the navigation button on the Home Page/Overiew Page, so that viewer's can find answers to the questions that are most commonly asked surrounding the campaign or analysis (Due to security reasons few datapoints are hidden).

Additional Initiative 2: A Feedback Page

No alt text provided for this image
Scenario 6: A feedback page available through the navigation button on the Home Page/Overiew Page designed with Smartsheet App, so that the users are not dependent on Emails and Chats and can register their request based on valid points related to the Business Needs (Due to security reasons few datapoints are hidden).

START your SQL Queries???

  • SQL is a standard language for accessing and manipulating databases.

What is SQL?

  • SQL stands for Structured Query Language.
  • SQL lets you access and manipulate databases.
  • SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987.

What Can SQL do?

  • SQL can execute queries against a database.
  • SQL can retrieve data from a database.
  • SQL can insert records in a database.
  • SQL can update records in a database.
  • SQL can delete records from a database.
  • SQL can create new databases.
  • SQL can create new tables in a database.
  • SQL can create stored procedures in a database.
  • SQL can create views in a database.
  • SQL can set permissions on tables, procedures, and views.

SQL is a Standard - BUT....?Although SQL is an ANSI/ISO standard, there are different versions of the SQL language.

However, to be compliant with the ANSI standard, they all support at least the major commands (such as SELECT, UPDATE, DELETE, INSERT, WHERE) in a similar manner.

Using SQL in Your Web Site?To build a web site that shows data from a database, you will need:

  • An RDBMS database program (i.e. MS Access, SQL Server, MySQL)
  • To use a server-side scripting language, like PHP or ASP
  • To use SQL to get the data you want
  • To use HTML / CSS to style the page

You can find one of the PostgreSQL Reference Queries (with dummy data names) used for this project in the below folder:

SQL Mind Mapping for Advanced Data Analytics !

How do you explain mind mapping?

  • A mind map involves writing down a central theme and thinking of new and related ideas which radiate out from the center. By focusing on key ideas written down in your own words and looking for connections between them, you can map knowledge in a way that will help you to better understand and retain information.

No alt text provided for this image
Mind Map: Mind Mapping for Better Understanding of SQL.

Data Model Optimization???

???Initial: Prepare the Data Model for Analytics and Effective Transformation

The model is designed following the best practices for better performance of data. As you can see below, the rules are segmented into categories. Some rules are more aesthetic-oriented while others are more focused on performance optimization. Note that there are several rules which require running an additional script.

DAX Expressions

  • Use the DIVIDE function for division.
  • Avoid using the IFERROR function.
  • Column references should be fully qualified.
  • Measure references should be unqualified.
  • Measures should not be direct references of other measures.
  • No two measures should have the same definition.
  • Use the TREATAS function instead of INTERSECT for virtual relationships.

Error Prevention

  • Data columns must have a source column.
  • Calculated columns must have an expression.

Formatting

  • Add data category for columns.
  • Do not summarize numeric columns.
  • First letter of objects must be capitalized.
  • Hide fact table columns.
  • Hide foreign keys.
  • Mark primary keys.
  • Month (as a string) must be sorted.
  • Objects should not start or end with a space.
  • Percentages should be formatted with thousands separators and one decimal.
  • Format flag columns as Yes/No value strings.
  • Provide format string for “Date” columns.
  • Provide format string for “Month” columns.
  • Provide format string for measures.
  • Relationship columns should be of integer data type.
  • Whole numbers should be formatted with thousands separators and no decimals.

Maintenance

  • Ensure tables have relationships.
  • Objects with no description.
  • Remove data sources not referenced by any partitions.
  • Remove roles with no members.
  • Remove unnecessary columns.
  • Remove unnecessary measures.

Naming Conventions

  • Use CamelCase for hidden columns.
  • Partition name should match table name for single partition tables.
  • Object names must not contain special characters.

Performance

  • Avoid bi-directional relationships against high-cardinality columns.
  • Avoid excessive bi-directional or many-to-many relationships.
  • Avoid snowflake schema architecture.
  • Do not use floating point data types.
  • Large tables should be partitioned.
  • Limit row level security (RLS) logic.
  • Many-to-many relationships should be single direction.
  • Minimize Power Query transformations.
  • Model should have a date table.
  • Model using Direct Query and no aggregations.
  • Reduce number of calculated columns.
  • Reduce usage of calculated columns that use the RELATED function.
  • Reduce usage of calculated tables.
  • Reduce usage of long-length columns with high cardinality.
  • Remove auto-date table.
  • Remove redundant columns in related tables.
  • Set IsAvailableInMdx to false on non-attribute columns.
  • Split date and time.
  • Date/calendar tables should be marked as a date table.
  • Unpivot pivoted (month) data.

No alt text provided for this image
Scenario 7: The Data Model behind the Transformation (Due to security reasons few datapoints are hidden).

While setting up my data model, I started by organizing my tables. As you can see in the image above, one of the best ways to do this is by using the Waterfall technique. Another way to do this effectively is by using the Star Schema approach.

No alt text provided for this image
Scenario 8: Example of the Data/Table Relationship.

The Manage Relationships dialogue also makes it easy to view the cardinality and its direction.

Ideally, relationships can either be one-to-many or many-to-one. Power BI is excellent at defaulting the cardinality according to your data.

Comments????

Comment 1:?Scope

As the computation time can increase exponentially with the size of the dataset?(optimization can be done)?you can change the model and the data load according to the need.

Comment 2:?Fix the range of orders/loading wave to simulate

We can modify the model to run a loop testing scenario with the number of orders per wave varying between planned scenario and the executed scenario.

Comment 3:?Start Calculation

  • The MEASURE keyword introduces a measure definition (DEFINE) in a query (also known as query measure).
  • The syntax after MEASURE defines a measure, which can be consumed in any other expression of the same query.
  • A query measure overrides a model measure with the same name. However, its definition is only used in other query measures; other model measures continue to use the model measure definition.
  • You can find the example DAX Queries used for this project in the folder:?Dax Solution Measures - Examples
  • You can find DAX Overview in the folder:?DAX Overview
  • You can find more advance DAX measures format in the folder:?DAX World

Comment 4:?Moving Text

Up until now, elements in Power BI Reports didn't move. In most cases, this is perfectly fine. But sometimes you might want to add a moving text or image to get the user's attention. This can be done with the help of the HTML Text_Styler.

With the HTML Text_Styler, you can define the scroll direction, speed, number of times the text should move over the screen, and many other settings. Of course, you still have full flexibility when it comes to formatting.

On top of that, the statement can be designed to work for other objects so you can also let an image move across your screen.


Want to learn more about this project? Click?here .??

ABOUT THE AUTHOR:

要查看或添加评论,请登录

社区洞察

其他会员也浏览了