Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dmartinezCJPB
Frequent Visitor

How to get data from a web that has a paginated table

Hi!

Can anyone help me to get all the data from a paginated table in a web site?

 

I'm interested in getting data from a public institution that has the inflation index shown in a paginated table. Is there any trick you could share with me?

 

The web site is this:

https://www.ine.gub.uy/indicadores?indicadorCategoryId=11421 

 

dmartinezCJPB_0-1659541753239.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Looks like you need to push some form payload with start and count values

 

lbendlin_0-1659925786923.png

 

Or you could download the entire table 

https://www.ine.gub.uy/c/document_library/get_file?uuid=2e92084a-94ec-4fec-b5ca-42b40d5d2826&groupId...

 

Unfortunately that is in .xls format which is not refreshable in the service.

let
    Source = Excel.Workbook(Web.Contents("https://www.ine.gub.uy/c/document_library/get_file?uuid=2e92084a-94ec-4fec-b5ca-42b40d5d2826&groupId=10181"), null, true),
    #"IPC_Cua 2" = Source{[Name="IPC_Cua 1"]}[Data],
    #"Removed Top Rows" = Table.Skip(#"IPC_Cua 2",7),
    #"Promoted Headers" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Mes y año", type text}, {"Índice", type number}, {"Mensual", type number}, {"Acum. año", type number}, {"Acum.12 meses", type number}, {"Trimestre", type number}, {"Cuatrimestre", type number}, {"Semestre", type number}, {"Column9", type text}, {"Column10", type text}}),
    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([Mes y año] <> null)),
    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Mes y año", "Índice", "Mensual", "Acum. año", "Acum.12 meses", "Trimestre", "Cuatrimestre", "Semestre"})
in
    #"Removed Other Columns"

How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done".

View solution in original post

2 REPLIES 2
dmartinezCJPB
Frequent Visitor

Thank you, bro!

lbendlin
Super User
Super User

Looks like you need to push some form payload with start and count values

 

lbendlin_0-1659925786923.png

 

Or you could download the entire table 

https://www.ine.gub.uy/c/document_library/get_file?uuid=2e92084a-94ec-4fec-b5ca-42b40d5d2826&groupId...

 

Unfortunately that is in .xls format which is not refreshable in the service.

let
    Source = Excel.Workbook(Web.Contents("https://www.ine.gub.uy/c/document_library/get_file?uuid=2e92084a-94ec-4fec-b5ca-42b40d5d2826&groupId=10181"), null, true),
    #"IPC_Cua 2" = Source{[Name="IPC_Cua 1"]}[Data],
    #"Removed Top Rows" = Table.Skip(#"IPC_Cua 2",7),
    #"Promoted Headers" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Mes y año", type text}, {"Índice", type number}, {"Mensual", type number}, {"Acum. año", type number}, {"Acum.12 meses", type number}, {"Trimestre", type number}, {"Cuatrimestre", type number}, {"Semestre", type number}, {"Column9", type text}, {"Column10", type text}}),
    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([Mes y año] <> null)),
    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Mes y año", "Índice", "Mensual", "Acum. año", "Acum.12 meses", "Trimestre", "Cuatrimestre", "Semestre"})
in
    #"Removed Other Columns"

How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done".

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors