GithubHelp home page GithubHelp logo

bayunova28 / airline_passenger_satisfaction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 12.54 MB

This repository contains about data analysis project from airline passenger satisfaction survey at north america

SQL 100.00%
airline airline-passenger-satisfaction power-bi power-bi-dax sql-server-database

airline_passenger_satisfaction's Introduction

Airline Passenger Satisfaction

Background

The crowds are back at the airport, those empty middle seats are occupied again and airlines in North America are raising ticket prices in response to soaring fuel costs and continued strong leisure travel demand all at the expense of passenger satisfaction. While dramatically higher prices could harm airline brands in the long term, for now, load volume is continuing to climb and passengers are willing to be assigned a middle seat in exchange for getting out of their houses, according to the J.D. Power 2022 North America Airline Satisfaction Study, released today.

"Customer satisfaction with North American airlines climbed to unprecedented highs for all of the wrong reasons during the past two years," said Michael Taylor, travel intelligence lead at J.D. Power. "Fewer passengers meant more space on airplanes, less waiting in line and more attention from flight attendants. But that business model was simply not sustainable. Now, with volumes surging and some remnants of pandemic-era constraints still in place, passenger satisfaction is in decline but that’s not really bad news. If airlines can find ways to manage these growing volumes while making some small adjustments to help passengers feel more valued, they should be able to manage this return to normal".

Data Analysis Expressions (DAX) Calculation

  • Cleanliness Ratings
Cleanliness Rating = 
VAR __MAX_NUMBER_OF_STARS = 5
VAR __MIN_RATED_VALUE = 0
VAR __MAX_RATED_VALUE = 5
VAR __BASE_VALUE = AVERAGE('airline_passenger_satisfaction'[Cleanliness])
VAR __NORMALIZED_BASE_VALUE =
	MIN(
		MAX(
			DIVIDE(
				__BASE_VALUE - __MIN_RATED_VALUE,
				__MAX_RATED_VALUE - __MIN_RATED_VALUE
			),
			0
		),
		1
	)
VAR __STAR_RATING = ROUND(__NORMALIZED_BASE_VALUE * __MAX_NUMBER_OF_STARS, 0)
RETURN
	IF(
		NOT ISBLANK(__BASE_VALUE),
		REPT(UNICHAR(9733), __STAR_RATING)
			& REPT(UNICHAR(9734), __MAX_NUMBER_OF_STARS - __STAR_RATING)
	)
  • Ease Online Booking Ratings
Ease Online Booking Rating =
VAR __MAX_NUMBER_OF_STARS = 5
VAR __MIN_RATED_VALUE = 0
VAR __MAX_RATED_VALUE = 5
VAR __BASE_VALUE = AVERAGE('airline_passenger_satisfaction'[Ease of Online Booking])
VAR __NORMALIZED_BASE_VALUE =
   MIN(
   	MAX(
   		DIVIDE(
   			__BASE_VALUE - __MIN_RATED_VALUE,
   			__MAX_RATED_VALUE - __MIN_RATED_VALUE
   		),
   		0
   	),
   	1
   )
VAR __STAR_RATING = ROUND(__NORMALIZED_BASE_VALUE * __MAX_NUMBER_OF_STARS, 0)
RETURN
   IF(
   	NOT ISBLANK(__BASE_VALUE),
   	REPT(UNICHAR(9733), __STAR_RATING)
   		& REPT(UNICHAR(9734), __MAX_NUMBER_OF_STARS - __STAR_RATING)
   )
  • Food and Drink Ratings
Food and Drink Rating = 
VAR __MAX_NUMBER_OF_STARS = 5
VAR __MIN_RATED_VALUE = 0
VAR __MAX_RATED_VALUE = 5
VAR __BASE_VALUE = AVERAGE('airline_passenger_satisfaction'[Food and Drink])
VAR __NORMALIZED_BASE_VALUE =
	MIN(
		MAX(
			DIVIDE(
				__BASE_VALUE - __MIN_RATED_VALUE,
				__MAX_RATED_VALUE - __MIN_RATED_VALUE
			),
			0
		),
		1
	)
VAR __STAR_RATING = ROUND(__NORMALIZED_BASE_VALUE * __MAX_NUMBER_OF_STARS, 0)
RETURN
	IF(
		NOT ISBLANK(__BASE_VALUE),
		REPT(UNICHAR(9733), __STAR_RATING)
			& REPT(UNICHAR(9734), __MAX_NUMBER_OF_STARS - __STAR_RATING)
	)
  • Gate Location
Gate Location Rating = 
VAR __MAX_NUMBER_OF_STARS = 5
VAR __MIN_RATED_VALUE = 0
VAR __MAX_RATED_VALUE = 5
VAR __BASE_VALUE = AVERAGE('airline_passenger_satisfaction'[Gate Location])
VAR __NORMALIZED_BASE_VALUE =
	MIN(
		MAX(
			DIVIDE(
				__BASE_VALUE - __MIN_RATED_VALUE,
				__MAX_RATED_VALUE - __MIN_RATED_VALUE
			),
			0
		),
		1
	)
VAR __STAR_RATING = ROUND(__NORMALIZED_BASE_VALUE * __MAX_NUMBER_OF_STARS, 0)
RETURN
	IF(
		NOT ISBLANK(__BASE_VALUE),
		REPT(UNICHAR(9733), __STAR_RATING)
			& REPT(UNICHAR(9734), __MAX_NUMBER_OF_STARS - __STAR_RATING)
	)
  • In-flight Service
In-flight Service Rating = 
VAR __MAX_NUMBER_OF_STARS = 5
VAR __MIN_RATED_VALUE = 0
VAR __MAX_RATED_VALUE = 5
VAR __BASE_VALUE = AVERAGE('airline_passenger_satisfaction'[In-flight Service])
VAR __NORMALIZED_BASE_VALUE =
  MIN(
  	MAX(
  		DIVIDE(
  			__BASE_VALUE - __MIN_RATED_VALUE,
  			__MAX_RATED_VALUE - __MIN_RATED_VALUE
  		),
  		0
  	),
  	1
  )
VAR __STAR_RATING = ROUND(__NORMALIZED_BASE_VALUE * __MAX_NUMBER_OF_STARS, 0)
RETURN
  IF(
  	NOT ISBLANK(__BASE_VALUE),
  	REPT(UNICHAR(9733), __STAR_RATING)
  		& REPT(UNICHAR(9734), __MAX_NUMBER_OF_STARS - __STAR_RATING)
  )
  • Total Passenger
Total Passenger =
COUNT(airline_passenger_satisfaction[ID])

Dashboard

Acknowledgement

Dataset Source : Kaggle

airline_passenger_satisfaction's People

Contributors

bayunova28 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.