{"id":2338,"date":"2021-07-22T22:35:19","date_gmt":"2021-07-22T22:35:19","guid":{"rendered":"https:\/\/portfolio.accrualhub.com\/powergi2\/?p=621"},"modified":"2026-05-14T16:35:09","modified_gmt":"2026-05-14T16:35:09","slug":"reading-pdf-data-from-excel-or-power-bi-with-power-query","status":"publish","type":"post","link":"https:\/\/powergi.net\/es\/blog\/reading-pdf-data-from-excel-or-power-bi-with-power-query\/","title":{"rendered":"Reading PDF Data from Excel or Power BI with Power Query"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"2338\" class=\"elementor elementor-2338\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-507d7a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"507d7a\" data-element_type=\"section\" data-e-type=\"section\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6f59abe2\" data-id=\"6f59abe2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1e515817 elementor-widget elementor-widget-text-editor\" data-id=\"1e515817\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<p class=\"wp-block-paragraph\">We work with PDF files in day-to-day tasks, and we are in constant need of reading or processing the data in those PDFs (Bank Statements, Invoices, Exported data available in PDF format only, etc). We usually think of paid software or OCR systems to help us on this task, but did you know that both Power BI and MS Excel have an option to get data or tables from PDFs? The results aren\u2019t always perfect but with a couple of transformation steps the output can be really useful!<\/p>\n\n<p class=\"wp-block-paragraph\">For example, I receive monthly statements from by Bank with details of charges on my credit card, and I spend some time reviewing it, wouldn\u2019t it be great if I could both review it and analyze my historical transactions in Excel or Power BI?<\/p>\n<p>This is where solutions like <a href=\"https:\/\/powergi.net\/es\/microsoft-power-platform-consulting-services\/\"><strong>Servicios de consultor\u00eda de Power Apps<\/strong><\/a> can further enhance automation and data processing.<\/p>\n<p>\u00a0<\/p><div id=\"seology-cta-1\">\t\t<div data-elementor-type=\"section\" data-elementor-id=\"7267\" class=\"elementor elementor-7267\" data-elementor-post-type=\"elementor_library\">\n\t\t\t<div class=\"elementor-element elementor-element-7e3f164 e-con-full e-flex e-con e-parent\" data-id=\"7e3f164\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"background_background\":\"classic\",\"jet_parallax_layout_list\":[]}'>\n\t\t<div class=\"elementor-element elementor-element-9078c9f e-con-full e-flex e-con e-child\" data-id=\"9078c9f\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b99949 elementor-widget elementor-widget-heading\" data-id=\"7b99949\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Convierte tus ideas en soluciones digitales<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8e61db5 elementor-widget elementor-widget-heading\" data-id=\"8e61db5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Nuestro equipo te gu\u00eda paso a paso para crear aplicaciones personalizadas en Power Platform.<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a578907 e-flex e-con-boxed e-con e-child\" data-id=\"a578907\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e8c827b elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"e8c827b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"#ctc_chat\">\n\t\t\t<i aria-hidden=\"true\" class=\"fab fa-whatsapp\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d834237 elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"d834237\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"https:\/\/powergi.net\/es\/contact\/\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-envelope\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<\/div>\n\n<h3 class=\"wp-block-heading\">Step by step guide how to read PDF data with Power Query.<\/h3>\n\n<p class=\"wp-block-paragraph\">Note: Steps are very similar between Power BI and MS Excel.<\/p>\n\n<p class=\"wp-block-paragraph\">Go to data tab, then Get Data &gt; From File &gt; From PDF.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Step1<\/strong>: Browse to the PDF file you want to read, select it, and click Import.<\/p>\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-623\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2021\/07\/image-9.png\" alt=\"\" width=\"429\" height=\"299\"><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Step2:<\/strong> In the next screen you will both the pages and the tables identified by Power Query, you can select one or multiple items, depending on the analysis you\u2019re building.<\/p>\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" class=\"wp-image-624\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2026\/07\/image-10-766x1024-1.webp\" alt=\"\" width=\"337\" height=\"451\"><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Step3:<\/strong> Select the item and in the right, you\u2019ll see a preview of the data recognized for that table. When you find the table you\u2019re interested in, just select it and click on \u201ctransform data\u201d<\/p>\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" class=\"wp-image-625\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2026\/07\/powergi-image-14927.webp\" alt=\"\" width=\"555\" height=\"422\"><\/figure>\n\n<p class=\"wp-block-paragraph\">This will take you to the query editor, you will notice <a href=\"https:\/\/powergi.net\/es\/blog\/how-to-split-one-excel-sheet-into-multiple-files-using-macro\/\"><strong>some columns are showing split into<\/strong><\/a> two, in below case, Power Query recognized the transaction description in two columns instead of 1. So we need to aply a quick transformation step<\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-626\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2021\/07\/image-12-1024x208.png\" alt=\"\"><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Step4:<\/strong> Perform a \u201cmerge column\u201d operations to data put into one single column, by selecting both columns, then right click, and finally clicking on \u201cMerge Columns\u201d.<\/p>\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-627\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2026\/07\/powergi-image-14916.webp\" alt=\"\" width=\"346\" height=\"331\"><\/figure>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-628\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2021\/07\/image-14.png\" alt=\"\"><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Step5:<\/strong> Remove any nulls from the Date column to clean up some rows<\/p>\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-629\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2026\/07\/image-15-343x1024-1.webp\" alt=\"\" width=\"174\" height=\"519\"><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Step6:<\/strong> click \u201cClose and Load\u201d<\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-630\" src=\"https:\/\/powergi.net\/wp-content\/uploads\/2021\/07\/image-16.png\" alt=\"\"><\/figure>\n\n<p class=\"wp-block-paragraph\">Wait a couple of seconds until the data has loaded to the Sheet.<\/p><div id=\"seology-cta-2\">\t\t<div data-elementor-type=\"section\" data-elementor-id=\"7283\" class=\"elementor elementor-7283\" data-elementor-post-type=\"elementor_library\">\n\t\t\t<div class=\"elementor-element elementor-element-7e3f164 e-con-full e-flex e-con e-parent\" data-id=\"7e3f164\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"background_background\":\"classic\",\"jet_parallax_layout_list\":[]}'>\n\t\t<div class=\"elementor-element elementor-element-9078c9f e-con-full e-flex e-con e-child\" data-id=\"9078c9f\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b99949 elementor-widget elementor-widget-heading\" data-id=\"7b99949\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">\u00bfEst\u00e1 su negocio preparado para la automatizaci\u00f3n?<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8e61db5 elementor-widget elementor-widget-heading\" data-id=\"8e61db5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Automatiza procesos con Microsoft Power Platform.<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a578907 e-flex e-con-boxed e-con e-child\" data-id=\"a578907\" data-element_type=\"container\" data-e-type=\"container\" data-settings='{\"jet_parallax_layout_list\":[]}'>\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e8c827b elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"e8c827b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"#ctc_chat\">\n\t\t\t<i aria-hidden=\"true\" class=\"fab fa-whatsapp\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d834237 elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"d834237\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"https:\/\/powergi.net\/es\/contact\/\">\n\t\t\t<i aria-hidden=\"true\" class=\"far fa-envelope\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<\/div>\n\n<p class=\"wp-block-paragraph\">You just read data from a PDF! Very easy and convenient, isn\u2019t it!<\/p>\n<p>This is where solutions like <a href=\"https:\/\/powergi.net\/es\/microsoft-power-platform-consulting-services\/\"><strong>Power Platform consulting services<\/strong><\/a> can further enhance automation and data processing. Our consultants specialize in streamlining tasks, making your data journey efficient and insightful<\/p>\n<p>\u00a0<\/p>\n\n<h3 class=\"wp-block-heading\">Benefits of Reading PDF data from excel with Power Query<\/h3>\n\n<ul class=\"wp-block-list\">\n<li>It\u2019s for free: the functionality is available in all the recent versions of Excel at no additional cost, and no additional software.<\/li>\n<li>You can read several pages at the same time by expanding all pages in the navigation.<\/li>\n<li>You can apply calculations if needed to any column or data point present in the file.<\/li>\n<li>You can transform the text into different final formats using all the Power Query features.<\/li>\n<li>It\u2019s very simple: just a couple of clicks and transformations, and you\u2019re done!<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>We work with PDF files in day-to-day tasks, and we are in constant need of reading or processing the data in those PDFs (Bank Statements, Invoices, Exported data available in PDF format only, etc). We usually think of paid software or OCR systems to help us on this task, but did you know that both [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2621,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"glossary_letter":"a","footnotes":""},"categories":[35,29,25],"tags":[],"class_list":["post-2338","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-excel","category-power-bi-cat","category-power-query-cat"],"glossary_letter":"a","rank_math_title":"Read PDF Data via Excel &amp; Power BI | Power GI","rank_math_description":"Discover how to extract PDF data directly from Excel or Power BI using Power Query. Step-by-step tutorial on the Power GI blog.","rank_math_focus_keyword":null,"_links":{"self":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts\/2338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/comments?post=2338"}],"version-history":[{"count":1,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts\/2338\/revisions"}],"predecessor-version":[{"id":13468,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/posts\/2338\/revisions\/13468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/media\/2621"}],"wp:attachment":[{"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/powergi.net\/es\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}