PowerQuery에서 수익 연수를 계산했습니다.
7896 단어 ExcelPowerBIDesktopPowerQuery

htps //w w. 사카이-제이무. jp/bぉg/아 r ゔぇs/7051
세금에 대해 무지한 것을 알고, 195만엔 전후로 실효 세율에 변화가 있는지를 알고 싶은, Excel의 Power Query 기능을 사용해 검증했습니다.
먼저 빈 Excel을 시작합니다. (2019에서 검증 중)

htps //w w. 사카이-제이무. jp/bぉg/아 rゔぇs/7051
이 사이트에서 테이블을 텍스트 형식으로 붙여넣습니다.

↓

테이블로 변환합니다. PowerQuery로 작업하려면 테이블화가 필수입니다.



데이터 탭에서 테이블에서 쿼리 만들기를 선택합니다.

Power Query에 로드되었습니다.

원본 데이터는 행 중간에 제목이 중복되어 있으므로 필터링하여 지워 둡니다.

원본 데이터는 문자열이므로 정수로 변경합니다.

왼쪽 연도 열도 문자열이므로 그대로 계산할 수 없습니다. 일단 중복 열로 복사합니다.

값 바꾸기를 선택합니다.

첫 번째 '연수' 문자열을 공백으로 바꿉니다. (=삭제)

마찬가지로 후행 불필요한 문자열도 지웁니다.


그리고 또 정수로 합니다(10진수라도 OK)

단위를 맞추기 위해, 100→1000000엔과 같이 변환합니다. (곱셈 계산으로 10000을 곱합니다)

평생 관계 없지만 하단의 1억엔의 곳만 문자열이었으므로 일단 변경해 둡니다.


할 수 있는 「연수(수치)열」을 왼쪽으로 드래그합니다.


여기에서 각 열의 백분율 비교로 들어갑니다. (연수입에서 본 각 세율의 백분율)
맞춤 열을 추가합니다.

이러한 계산식과 이름을 사용합니다. 오른쪽 항목을 더블 클릭하면 반영되므로 간단합니다.

백분율 같은 숫자의 열이 생겼습니다.

백분율로 변환합니다.

연간 수입에 대한 건강 보험료의 비율을 이것으로 알았습니다.

왼쪽으로 드래그하여 나란히 둡니다.

다음은 생략하지만 동일한 프로세스에서 다른 항목에 대해서도 수행합니다.

마지막으로 닫고 읽습니다.

Excel로 로드되었습니다. 195만엔 전후에도 거의 손잡이는 변하지 않는 것을 알았습니다.

전체적으로는 이런 느낌이 되었습니다.



요약:
・건강보험은 6% 전후
・후생연금은 9% 전후
・고용보험은 0.3%
・소득세와 주민세는 리니어에 올라간다
・195만엔으로의 세율 변경은 신경쓰지 말아 좋다
Power Query입니다만, 일단 계산 쿼리를 보존해 버리면, 그 후에는 원 데이터의 테이블 수치를 갱신해, 「데이터의 갱신」버튼을 누르는 것만으로 좋고, 업무의 자동화에 일역 사 줍니다.

Reference
이 문제에 관하여(PowerQuery에서 수익 연수를 계산했습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/minoden_osaka/items/c8cc36c4644aec8106c7텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)