There could be multiple ways to load .gz files in power BI desktop. Instead of decompressing the files, you can read and load .gz file directly in Power BI using R Script. It’s pretty fast and require less line of codes.
Click on Get data option in Power BI Desktop and choose “R Script” and click on connect.
Then use following R Script to load .gz files into power BI Desktop.
install.packages -> data.table
library(‘data.table’)
data <- fread(file=”C:/Users/aansari/Development/Jay/base_BookingsChargesBridge.csv.gz”)
data
Happy coding!!!
Sub Main()
rs.FireEvent(“TimedSubscription”, ““)
End Sub
select s.SubscriptionID,sD.name subscriptionname,c.Name as reportname from Subscriptions s
inner join ReportSchedule RS on RS.SubscriptionID=s.SubscriptionID
inner join Catalog c on c.ItemID=RS.ReportID
inner join Schedule SD on SD.ScheduleID=RS.ScheduleID
where c.Name=’‘