Lean Archives - Leansoftlytics https://leansoftlytics.com/category/lean/ Power BI DAX Developer | Microsoft MS Access VBA Developer | ETL & SQL | Business Analyst Fri, 09 Aug 2024 22:07:02 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://leansoftlytics.com/wp-content/uploads/2020/03/leansoftlytics.png Lean Archives - Leansoftlytics https://leansoftlytics.com/category/lean/ 32 32 Power BI, DAX, Semantic Data Model, Microsoft SQL Server NAMING CONVENTIONS https://leansoftlytics.com/power-bi-dax-semantic-data-model-microsoft-sql-server-naming-conventions/ Fri, 09 Aug 2024 22:06:35 +0000 https://leansoftlytics.com/?p=1234 Power BI, DAX, Semantic Data Model, Microsoft SQL Server NAMING CONVENTIONS Have you ever found it hard to remember a person’s name? Well, its like that also for developers when they work with another developer’s code because the code is written in VBA Visual Basic for Applications part of Microsoft Access container. The VBA code […]

The post Power BI, DAX, Semantic Data Model, Microsoft SQL Server NAMING CONVENTIONS appeared first on Leansoftlytics.

]]>

Power BI, DAX, Semantic Data Model, Microsoft SQL Server
NAMING CONVENTIONS

Have you ever found it hard to remember a person’s name? Well, its like that also for developers when they work with another developer’s code because the code is written in VBA Visual Basic for Applications part of Microsoft Access container. The VBA code may need to use the name of a field on a form or report or a field from a table. If the name is misspelled the code won’t work, and if there is no consistency with naming, a developer will constantly have to exit the VBA Visual Basic for Applications part of Microsoft Access to find the database object’s name. When there is no naming rules or consistency, a developer never knows if the object that they are referencing in the code was name in the singular or plural, or is named employee, emp, employees, associates, associate, staff, staffmembers, or staff_mem, etc. Even worse, the different variations are used throughout the MS Access database while they all pertain to the same concept. This causes waste in the process of development.

Besides adhering to certain good design practices when I develop a Microsoft Access application, I consider it indispensable that I make myself dispensable. I will take the requirements, design the architecture, create the application object, and program the VBA Visual Basic for Applications code and consider the developers who will follow. After I deploy the solution, the customer should have the option to have me or anyone else make changes or additions in the future.

An important conversation that needs to happen upfront is what the customer wants with respect to naming conventions of the various parts that together make up the application. On one hand, I have seen other people name a table with 37 textual letters, reports named “Report for Teresa”, and queries that have no meaning in their name of “Query11”. On the flip side, in large companies may be a layer of people that will supply the MS Access project with a “View” of data that comes from a legacy enterprise source such as an Oracle or IBM DB2 source. The view is usually joins together many tables and the tables can have long and strange names, so the person providing the view will rename the tables with an alias such a “emp”, “e”, ”loc”, or “L” because short names are harder to misspell or forget.

I find short, descriptive names hard to misspell or forget. Name length, not using spaces between words, the use of upperLower case without spaces, singularity vs. plurality are all important things that will make it easy for the developer who follow the original developer.

Many Microsoft MS Access databases often link to data that resides in an enterprise data source such as a Share Point list, Salesforce, MS Excel, a third-party Human Resource App, or an Oracle or IBM DB2 database. Often the original MS Access developer(s) is nowhere to be found and neither is any project documentation. When an Access developer is in the main part of the code that interacts with the enterprise data there can be a long list of commands that run the queries that process can be a long sequence of objects that delete, append and update. With a little forethought, the queries that process can appear in the Microsoft Access Database navigation pane in the order that they process. This ordering involves a short process name prefix, a middle set of numbers, and a short descriptive suffix. With a little more thought, a separate bit of VBA code can loop through those names and write out the code sequence that is used in the main part of the code. When that happens, all is easy to follow, and there is nothing to look up or misspell, and there is no development process waste.

The post Power BI, DAX, Semantic Data Model, Microsoft SQL Server NAMING CONVENTIONS appeared first on Leansoftlytics.

]]>
Lean Process Improvement: Standing in the Circle https://leansoftlytics.com/lean-standing-in-the-circle-microsoft-ms-access-developer-business-analysis/ Fri, 10 Apr 2020 14:29:58 +0000 https://leansoftlytics.com/?p=1481 Power BI & DAX | MS Access & VBAPROGRAMMER vs. DEVELOPER ——– Standing in the Circle from the Lean (Toyota) process improvement methodology… Imagine that you are the top engineer in the nation of Japan and have just been hired by Toyota upon your graduation from the most esteemed of universities. The president of Toyota […]

The post Lean Process Improvement: Standing in the Circle appeared first on Leansoftlytics.

]]>

Power BI & DAX | MS Access & VBA
PROGRAMMER vs. DEVELOPER

--------

Standing in the Circle

from the Lean (Toyota) process improvement methodology...

Imagine that you are the top engineer in the nation of Japan and have just been hired by Toyota upon your graduation from the most esteemed of universities. The president of Toyota greets you on your very first day. While you walk together, you are filled with excitement as you wonder what the view will be like from your beautiful new office.

Your destination however is the production shop floor, and the president takes some chalk, draws a circle on the shop floor, and says “stand in this circle and observe”. Then he walks away.

Standing in the circle denotes involvement not separation and is a fact-finding mission to fully understand a process.

Programming and developing are very different.

Programming has a start and a finish and can be completed from a distance.

Development is a continuous process that starts from the circle, and our experience has been that the most value comes from being on site and working directly with stakeholders.

The post Lean Process Improvement: Standing in the Circle appeared first on Leansoftlytics.

]]>
LEAN & Continuous Improvement for Emails https://leansoftlytics.com/lean-continuous-improvement-for-emails/ Thu, 26 Mar 2020 23:42:31 +0000 https://leansoftlytics.com/?p=1232 Power BI Business Intelligence Transformations are made easy throughIncremental Process Improvements Have you ever searched your email inbox and had to spend extra time reading through emails because many of the subject lines were all identical while all of the emails were really about different topics? That’s like trying to find the ball in a […]

The post LEAN & Continuous Improvement for Emails appeared first on Leansoftlytics.

]]>

Power BI Business Intelligence Transformations
are made easy through
Incremental Process Improvements

Have you ever searched your email inbox and had to spend extra time reading through emails because many of the subject lines were all identical while all of the emails were really about different topics? That’s like trying to find the ball in a shell game! One reason for this confusion is because people will for their own convenience sake find one of your recent emails and hit “Reply”. It doesn’t seem to matter to them if they pick your email about “Project #25” or your email about the monthly meeting, they just pick an email and start typing. You will know this has happened to you when you find the budget data that you’ve been searching for in an email with a subject line about vacation days.

 
“LEAN” is a nickname for the Toyota Production System, and the LEAN process improvement methodology focuses on eliminating the steps in a process that do not add value. These non-value-added steps are viewed as waste that is to be taken out of the process in much the same way a full trash can is viewed in a kitchen. LEAN defines waiting as one of the seven forms of process waste that cause a process to be inefficient. In the automobile assembly process, waiting on a missing assembly part is a form of waste that needs to be removed from the assembly process.


Let’s say that you’re a good communicator and are also proactive so you send an email with the subject line “Project #5: Deployment date is still on track for January 13.” Later, you receive an email reply inquiring if the automated workflow functionality part of Project #5 will be included in the deployment. The reply to that email should have the subject line changed to something like “Project #5: Workflow Functionality.” This subject line change will provide specific information that will make a future search for this email more efficient.

Who knows… it may be you that is doing the searching.

Why This Matters

Respecting Others

You may not care about LEAN or maybe you do not have confidence in process improvement initiatives, but think about this…. Many companies hold “Respecting Others” as a core value. People often recognize that being to work on time as a good value but few people stop to think that causing a coworker to waste their time is not being respectful to their coworker. Taking your time to update the subject line when you reply to an email will help your coworkers save time and is being respectful of their time. You will be making their process of searching through the emails that you sent more efficient.

 

$ $ $ — The productivity lost when 60 employees each waste 1 minute is the average of what they all make for an hour — $ $ $

From the money perspective, lost productivity due to inaccurate subject lines is very real when you consider that many companies have thousands of employees that each are caused to waste several minutes each day when searching for emails.

 

Implement LEAN Subject Lines for Yourself

Emails with inaccurate subject lines conveys three messages.

1} One message is the intended communication in the email body.

2} The second conveyance is what the recipient thinks about your organizational and communication skills.

3} The third message conveys degree to which you consider others and the future need of others to quickly find your emails.

Having to wait on something to complete a process is a form of process waste that exist in inefficient processes. You may not be passionate about improving processes like I am,  but remember to do right by your coworker and put accurate information in the subject line when you reply to their emails. Many leaders think that a big process improvement roll-out and banners with carefully worded slogans improve processes. Maybe so, but don’t wait for the roll-out. Start improving the communication process today and be sure that your replies to emails have carefully worded subject lines.

Please feel free to let me know your opinion about this article, and if you like it. Thanks.

Start an Incremental LEAN Transformation Today

The post LEAN & Continuous Improvement for Emails appeared first on Leansoftlytics.

]]>
Power BI and Microsoft Access Design Standards and Capabilities https://leansoftlytics.com/microsoft-access-database-design-standards-checklist/ Tue, 03 Mar 2020 15:14:38 +0000 https://leansoftlytics.com/?p=605 Power BI, DAX | SQL Server | MS Access, VBADESIGN STANDARDS & CAPABILITIES STANDARDIZE FOR Easy Modifications Developer Rotation OPTIMIZE FOR Speed Future Back-end Upsizing Power BI, SQL Server, and MS Access Overview POWER BI ETL extract, transform, load external and legacy data into the Query Editor Star and Snowflake Relational Data Modeling Schemas Dimension […]

The post Power BI and Microsoft Access Design Standards and Capabilities appeared first on Leansoftlytics.

]]>

Power BI, DAX | SQL Server | MS Access, VBA
DESIGN STANDARDS & CAPABILITIES

STANDARDIZE FOR
Easy Modifications
Developer Rotation
OPTIMIZE FOR
Speed
Future Back-end Upsizing
POWER BI
  • ETL extract, transform, load external and legacy data into the Query Editor
  • Star and Snowflake Relational Data Modeling Schemas
  • Dimension and Fact Separations
  • Custom metrics. Conditional formatting, striving for to balance data and white space
  • Slicers menus that toggle in visibility, conserving screen space for maximum focus
  •  Dashboards. DAX Data Analysis Expressions. Linear regression trend identification/quantification. Moving averages, time intelligence functions, KPI reporting, Segmenting and grouping data
  • Descriptive, diagnostic, predictive analytics. “ What if ” scenarios and forecast
  • Adhere to in place naming conventions
 
POWER BI CLOUD SERVICE
  • Publish reports to workspaces
  • Create dashboards with linked visualizations and cascading filters
  • Extract iframe code for inline web page embedding
  • Set permissions & refresh schedules
  • Row level security 
 
SQL SERVER
  • Create Cloud Server, databases, tables, views
  • Create and call stored procedures
  • Union Queries and complex queries with multiple joins and sub-queries
  • T-SQL Transact CRUD commands to Create, Read, Update or Delete
  • Utilize SQL Views to limit data exposed to the front-end application 

 

MICROSOFT ACCESS
  • Tables have primary key
  • Commonly queried columns are indexed
  • Field Size not larger than needed
  • Relationships diagram present, Table relationships defined, Referential integrity enforced
  • Soft Code- Store Logos paths, file paths, user permissions in tables; Allow authorized users to edit
  • Switchboard Form /Main Navigation Form: Queries and reports refer to forms for dynamic criteria (vs. criteria saved in copies of them parameter dialog boxes)
  • Naming Conventions in place and followed
DAX and MICROSOFT POWER BI
  • Utilize Measures over calculated columns when possible
  • Maintain organized measure’s tables
  • Adhere to naming conventions
  • Indent for readability
  • Add comments so the next developer can easily follow
  • VAR: Use variables internally when possible so the next developer can easily follow
 
VBA and MICROSOFT ACCESS 
  • Compile Code
  • Use option explicit to require variable declaration
  • Password protected
  • Comment procedures with an explanation
  • Indent code blocks for easy recognition
  • Error handling utilized
  • Memory Management: Close Recordset variables; Set database variables to nothing
  • External Application Automation (i.e. Outlook, Excel): Use late binding

The post Power BI and Microsoft Access Design Standards and Capabilities appeared first on Leansoftlytics.

]]>