Тёмный

Export MORE THAN 100k rows of Power BI data to CSV using Power Automate | No ROW limits! 

Curbal
Подписаться 138 тыс.
Просмотров 60 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 293   
@TheRatnakar2007
@TheRatnakar2007 Год назад
This is super help. Thank you!!! Below is solution for Duplicate headers. Try the below formulae: Do Until loop -> Append to string variable if(equals(variables('LoopsVar'), 2), body('Create_CSV_Table'), join(skip(split(body('Create_CSV_Table'), decodeUriComponent('%0A')),1), decodeUriComponent('%0A')))
@karthiram8393
@karthiram8393 Год назад
Thanks Sir ....For sharing the solution...it is working for me
@sedwards2207
@sedwards2207 Год назад
Works! Thank you so much for sharing!
@irene751
@irene751 Год назад
Thank you! :)
@wexcel-ur2sj
@wexcel-ur2sj Год назад
Hello, I tried adding this step, but I was unable to because the Initiliazed variable is an Integer. Can you explain how I go about doing this?
@lixie463
@lixie463 Год назад
I don’t understand, where do I copy and paste this code into to avoid duplicated headers?
@zmot
@zmot Год назад
For those wondering how to stop the headers from being printed every time the loop runs you can do this: 1. Initialize the AppendCSV variable using your headers in CSV format followed by a newline character (instead of it being initialized blank) 2. When creating the CSV use 'advanced' mode and set the values one by one to be item()?['ColumnHeader'] (leave the header blank)
@harrisonsoares5242
@harrisonsoares5242 11 месяцев назад
Can you show me an input example for AppendCsv variable? I'm trying to do this, but it's not recognizing as row. I think I'm writing the notation incorrectly.
@sumanthd9319
@sumanthd9319 Год назад
That happiness of yours at 22:32- 22:36.. I too just felt the same. Nice work!
@CurbalEN
@CurbalEN Год назад
😂 Shared happiness is 2x better!
@sholder9933
@sholder9933 20 дней назад
I watched this all the way through just to see the happy dance. It did not disappoint :)
@CurbalEN
@CurbalEN 20 дней назад
@sholder9933 😂
@anistplenitudmampuru8596
@anistplenitudmampuru8596 7 месяцев назад
For nulls and Keeping column order : Use a SELECT action to map the column names to the data values - this takes care of the nulls and the column order ... I know - you have to map all the columns to the incoming powerBI values. This worked for me with over 100 columns. @Curbal Thank you for this Tutorial!!!!
@chirschmann3
@chirschmann3 6 месяцев назад
Can you expand on how you do this? I'm dealing with this exact issue right now!
@anistplenitudmampuru8596
@anistplenitudmampuru8596 6 месяцев назад
@@chirschmann3 The Select action in Power Automate can be used to map column names to data values. On the "From" input use the "firsTableRows" output from your "Run Power BI Query " action, then in the "Map" parameter which is displayed as a table, on your left hand side, type in the column names you want in your csv e.g FirstName , then on the right hand mapped to the FirstName will be the result from the query something like item()?[TableName['ColumnName']] ... you have to type this in as an expression. Then do the same for your other column name and the value you want them mapped to from the Power BI Run Query action. Power Automate doesn't automatically let you select an item from the firsTableRows output so just ensure you use the expression
@Knolram
@Knolram 6 месяцев назад
This is an excellent solution for smaller data sets and really helped me get on the right path to making this a workable solution, but I found that adding the select action exponentially increases the run time for the flow the bigger the dataset is. To get around this, instead of adding a select action, I added placeholders for any null values in the Power BI table I am pulling from, so that there are no null values being pulled by the flow from the table. To do this I created a simple DAX table that pulls all the values from the table I want to export via Power Automate. I then went through the DAX table calc and added code for each field being pulled into the DAX table to return the string "~EMPTY~" whenever a value is blank. Example for pulling the [Address] field from the main table into my DAX table: "ADDRESS", IF(ISBLANK([ADDRESS]), "~EMPTY~", [ADDRESS]), If the field type is not text, say a date or a number, you'll need to convert it to a text format like General Date so you don't end up with a type mismatch between the values that exist and the "~EMPTY~" text values you're getting for blanks: "DATE_ACTIVATE", IF(ISBLANK([DATE_ACTIVATE]), "~EMPTY~", FORMAT([DATE_ACTIVATE], "General Date")), After doing this for all the fields, there will be no null values in your DAX table, so you can pull from that table into your flow and the column order will always be the same for each loop. Then when you pull the data from your CSV files in the future (in my case I'm pulling them into Power BI), you can use the query editor to convert all "~EMPTY~" values back to blanks before assigned column types like Date, Whole Number, etc.
@ahmadbelal2412
@ahmadbelal2412 Год назад
Well, just wanted to let you know that I exported more than 165K rows. Your method is the best. Thank you so much for sharing
@CurbalEN
@CurbalEN Год назад
Delighted to hear! 😊
@ahmadbelal2412
@ahmadbelal2412 Год назад
@@CurbalEN I just have one observation. I noticed that some of the fields are missing , around 10% of the original data is missing. Is there something that I can do to overcome this obstacle?
@CurbalEN
@CurbalEN Год назад
You are probably hitting the api limit, reduce the download size until you get all your rows
@steviesimsii
@steviesimsii 2 года назад
Great job Johan, Henk and Luc on your work!
@RyanHare
@RyanHare Год назад
This works really well! The only thing I've noticed it that it includes the headers in every loop it does. However, I'm sure a little step to remove that should be easy.
@vanthang8592
@vanthang8592 2 дня назад
hello Curbal, thank you for greatful explaination , could you please share the dataset for we can practice ?
@蔡玲杰
@蔡玲杰 Год назад
This is super help. Thanks Curbal! I will never figure it out without your tutorial
@CurbalEN
@CurbalEN Год назад
Glad it was helpful!
@蔡玲杰
@蔡玲杰 Год назад
@@CurbalEN Hello Curbal, I also got the same issue that the column names repeat multiple times. I couldn't find a good solution to that. Would you mind helping find solution if possible?
@CurbalEN
@CurbalEN Год назад
It is on my to-do list ;)
@蔡玲杰
@蔡玲杰 Год назад
@@CurbalEN Good to know it! Thank you Curbal. You are awesome and made me see the hope.❤!
@raymchin007
@raymchin007 Год назад
Excellent video - quick question What do you do if you don't have or cannot create an index column? I've recreated the report from a PBI data set (the data does not belong to me) and I don't have a unique identifiable column as the data changes on a daily basis - let's say my data has multiple claims (sometimes duplicate claim numbers) and duplicate dates. Any insight is appreciated.
@andylewis2329
@andylewis2329 3 месяца назад
Same here. Did you ever find a workaround with no index column?
@raymchin007
@raymchin007 3 месяца назад
@@andylewis2329 What I did was I created an array of months and broke up the file into 12 files, provided that each file did not exceed 100,000 rows or less than 1 million values. And then applied loop for each of these months. Hope this helps.
@ramyagopinath8320
@ramyagopinath8320 Год назад
Great content❤ worked like charm. Was struggling from past one week and with this video, was able to accomplish what i wanted😊
@CandiceClarke
@CandiceClarke Год назад
This was amazingly simple to follow and as you did suggest, it requires precision. I had one error that took me days to find, until I just copied all of your code. Thank you! Subscribed.
@CurbalEN
@CurbalEN Год назад
Welcome!
@CandiceClarke
@CandiceClarke Год назад
@@CurbalEN I see that you do enjoy when your subscribers ask you follow up questions. My end-users are in different countries and are only sanctioned to view their own work. I was able to apply a filter so that I can generate a CSV for each territory. Is there any way to generate multiple files (based on a Territory filter) from a single Flow?
@CandiceClarke
@CandiceClarke Год назад
@@CurbalEN The appended CSV file also appended the column headers :(
@DevonMercy
@DevonMercy Год назад
Was able to do 186K rows with 17 Columns - just had to increase the do until limit. The column repeat isn't ideal but also not a true issue as I am only using this to create a repository of historical data.
@Cbabel-tr5sd
@Cbabel-tr5sd 6 месяцев назад
This is extremely useful! helps me to resolve But am I the only one encountering the below notification & workflow stuck at running when exporting more than 600K rows "Your flow is consuming an excessive amount of data and reached 80% of the content throughput limit. If the usage grows, further actions may be throttled or slowed down."
@PublicSite
@PublicSite Год назад
Hi. This is a great video that you've posted. I learned quite a bit by following it step by step. It does exactly what I wanted to achieve. Works like a charm. Thank you very much for sharing your knowledge. This is super helpful. Kudos to you!!!
@CurbalEN
@CurbalEN Год назад
And to you for the feedback!
@nishthatank5954
@nishthatank5954 Год назад
Hey does it works with dashboard filters
@CurbalEN
@CurbalEN Год назад
@nishthatank5954 I dont think so :(
@nishthatank5954
@nishthatank5954 Год назад
​@@CurbalENhey can u please which will work for solution will work if we apply filters on dashboard and then export data
@CurbalEN
@CurbalEN Год назад
@nishthatank5954 i dont think it is possible
@ryannakao2448
@ryannakao2448 Год назад
Your content helped me so much, thank you for that!
@CurbalEN
@CurbalEN Год назад
😃
@Knolram
@Knolram 6 месяцев назад
It would be difficult for me to articulate the size of the problem that you helped me solve with this video. Thank you SO MUCH!!!!
@basel777
@basel777 Год назад
Just wanted to let you know that you're my Power BI hero!
@CurbalEN
@CurbalEN Год назад
💛
@tolulopeesho8103
@tolulopeesho8103 Год назад
Thanks so much for this video, Curbal. Please how do I create a filter table to batch the data without an index column?
@michaelj45
@michaelj45 Год назад
HI were you able to find a solution to this?
@JegErAlan
@JegErAlan Год назад
Great video as usual Curbal, thank you! BTW, the reason I may use this is not because I ran into a row limit on running a query against a dataset. Instead, it appears to be an "amount of data" limit. If I put fewer columns in the query, I get more rows. I'm not saying there isn't a 100K limit on rows, but with a decent number of columns, I couldn't get more than a few thousand back. I zapped all but two columns, and I got all 70K. Short version: At least with the Power BI run a query step, I wonder if it more of an amount of data issue than a row issue. But your video is extremely helpful, regardless!
@CurbalEN
@CurbalEN Год назад
It is both, if you run into a limit , make your loops smaller :)
@JegErAlan
@JegErAlan Год назад
@@CurbalEN Exactly what I plan to do. :-) I’ll admit, I was surprised that the run a query step was so limited. Thanks again!
@CurbalEN
@CurbalEN Год назад
Ja, api limits always suck :(
@michaelj45
@michaelj45 Год назад
Hi Curbal, thank you for this video which helped me to automate my download process.. I would like to know if its possible to export more than 100k rows without Index column as I am using live dataset
@JamesSchrader-x1w
@JamesSchrader-x1w 8 месяцев назад
This was super helpful - thank you!
@bertoso
@bertoso Год назад
Muito obrigado por compartilhar seu trabalho, me ajudou muito em desenvolver o que preciso. Sucesso!
@charlini.b146
@charlini.b146 Год назад
This is exactly the scenario I have in the company I work for, I need to export millions of lines per day to csv, but I need to insert start date and end date parameters, how could I do it in this case, defining (filtering) the time period in the power BI matrix or table to then start the power automate task or do I define the time period in the same way described above and consider these in variables? I would really like your help! Thanks for sharing your knowledge with us!
@stlaurent26
@stlaurent26 5 месяцев назад
Thank you! Exactly what I needed
@abbeyesval
@abbeyesval 2 месяца назад
Thanks for this amazing video, i just want to ask you something, how can I send a personallized file to every salesman, with only one click?
@aydeediaz2307
@aydeediaz2307 Год назад
Hi! I see you are using your dataset as your report. In my case I have a dataset that feeds different reports, and I want to do this from a specific one, how can I do it that way? Because the dataset has a lot of tables inside it. Thanks! great video!
@bheemashenmudgal5771
@bheemashenmudgal5771 Год назад
Great video.. This video is very helpful. Can you please add the same video with slicers/drop down filters for data? Or provide some tips as how to achieve the same with drop-down filters.
@AlexRuu
@AlexRuu Год назад
Yes, this can be very useful
@srilaxmigrao2734
@srilaxmigrao2734 Год назад
Hi good video. Just one query can we add these data into excel by overwriting the excel every time?
@LadyLee-u4k
@LadyLee-u4k 5 месяцев назад
Gracias por sus buenos aportes!
@LincolnOliver
@LincolnOliver Год назад
You are amazing!! It helped me a lot!!
@aritramech
@aritramech Год назад
Excellent video.. I am going to create my own flow like wise
@rockydon2262
@rockydon2262 Год назад
Thanks Curbal for this great series! One question, did you try to get those DAX query automatically from a report? (as sometime the query is not predefined, they must be captured with dynamic content and filters)
@CurbalEN
@CurbalEN Год назад
I don’t think you can do that? Might be wrong though…
@rockydon2262
@rockydon2262 Год назад
@@CurbalEN I got some clue one that, but most are complex; so curious if someone'd done that before; (obviously M$ had done that in PBI Desktop, but not sure how)
@CurbalEN
@CurbalEN Год назад
I haven’t done it, but if you can point me to a blog where someone has successfully done it I can take a look :)
@ashwinjoshi3331
@ashwinjoshi3331 10 месяцев назад
Thanks a lot for the video. It was really helpful .I could replicate it at my end. Just one question - can we call the same Power Automate flow in Power BI i.e. on a click of a button ? I tried it but could proceed only with few steps . Later it was not showing expression control . Is there any other way by which we can call flow ?
@robsommerville1694
@robsommerville1694 Год назад
Fab video and concisely done, as said though you need to be exact with the scripting but once up and running its exactly what's needed. Shame it wasn't for Excel rather than csv, can this same process be done for excel and is there much deviation from this flow? Very helpful and can'r praise enough those that take the time to create these videos and share their skills and knowledge. Massively appreciated. Happy days
@CurbalEN
@CurbalEN Год назад
🥳🥳
@hichamfaidi
@hichamfaidi Год назад
@@CurbalEN hello, I'm trying to export data from my Power BI dataset to a CSV file on SharePoint. My dataset contains over 1 million rows, and I've tried adding an 'index_' column using RANKX based on an ID column. However, when I export the data to a CSV file, I only get 2000 rows in the output. I need help with this issue. Can you please provide some guidance on how to export the full dataset to a CSV file on SharePoint? Thank you.
@mubasshir_ansari2134
@mubasshir_ansari2134 Год назад
Hi, Your Videos are so Useful, Please could you let us know which Power automate License you are using to export 100k rows in Excel.
@CurbalEN
@CurbalEN Год назад
I have office 365 E3
@JD-ff7cz
@JD-ff7cz Год назад
Hi, your videos are so useful, I've learnt so much :) One thing I cannot seem to solve is the repeating of column headers. I can't see a solution in the comments or power automate community. Could you help with this curbal?
@TheRatnakar2007
@TheRatnakar2007 Год назад
I face the same issue.....Please help
@martinvanweel1126
@martinvanweel1126 Год назад
@@TheRatnakar2007 same here
@riyajadon9794
@riyajadon9794 Год назад
Hey, awesome tutorial, can you pls tell us how to remove extra header after getting the data
@sharavananp5570
@sharavananp5570 2 года назад
Super duper. And that's how it's done . Really useful
@CurbalEN
@CurbalEN 2 года назад
Yeah !!
@rayromych5534
@rayromych5534 Год назад
Thanks for the great and useful video Is there any way to sort data by different columns so output csv file is sorted by specified column?
@anbum4511
@anbum4511 Год назад
Good job, thanks for the video. As per this flow the data appending with headers, could you please help me out how to remove the headers from appended data. Thanks
@JanLewis-y3q
@JanLewis-y3q Год назад
This is fantastic! Thank you so much!!!
@marcusdipaula
@marcusdipaula 2 года назад
Thank you!!! I needed this!
@CurbalEN
@CurbalEN 2 года назад
Perfect timing then!!
@sankey262
@sankey262 4 месяца назад
Hi Great Job !! In my case last index came fine, but the total number of rows is missing. Could you help me with this?
@russellpetrie2956
@russellpetrie2956 2 года назад
Great video, this will help me a lot. At the end where you combine into 1 csv, it looks like there are 4 extra rows added. The index is 102158 and the row number is 102163. Could it be the 4 joins are repeating a row?
@CurbalEN
@CurbalEN 2 года назад
It is the headers on each csv :)
@syedaamir8170
@syedaamir8170 Год назад
@@CurbalEN Is there any way to filter out the headers?
@CurbalEN
@CurbalEN Год назад
Most likely, check with the power automate community
@mrmarcify
@mrmarcify Год назад
@@syedaamir8170 have you discovered how to remove the headers?
@ThomasHampe
@ThomasHampe Год назад
Thank you SO MUCH, I am learning so much from your videos. ( PS: It works ! )
@CurbalEN
@CurbalEN Год назад
Fabulous!!
@hichamfaidi
@hichamfaidi Год назад
@@CurbalEN I'm trying to export data from my Power BI dataset to a CSV file on SharePoint. My dataset contains over 1 million rows, and I've tried adding an 'index_' column using RANKX based on an ID column. However, when I export the data to a CSV file, I only get 2000 rows in the output. I need help with this issue. Can you please provide some guidance on how to export the full dataset to a CSV file on SharePoint? Thank you.
@mariasilverdale6444
@mariasilverdale6444 Год назад
You are the best!
@hichamfaidi
@hichamfaidi Год назад
Hello @Curbal , I'm trying to export data from my Power BI dataset to a CSV file on SharePoint. My dataset contains over 1 million rows, and I've tried adding an 'index_' column using RANKX based on an ID column. However, when I export the data to a CSV file, I only get 2000 rows in the output. I need help with this issue. Can you please provide some guidance on how to export the full dataset to a CSV file on SharePoint? Thank you.
@esther140493
@esther140493 7 месяцев назад
Hola! Gracias por los videos! Hay alguna forma de crear un botón en un dashboard que extraiga todos los valores que aplican a los visuales que se muestran? Muchas gracias!
@PriyankaKolanupaka
@PriyankaKolanupaka 4 месяца назад
Is index column mandatory? Is it like to have a row number for each row to make it unique? If so, can we use any ID column which is unique?
@s.r.1997
@s.r.1997 9 месяцев назад
thanks! From what I`ve seen, it starts from the other video (100k rows extraction), i`m wrong? I mean, some code was already there and not explained so i guess it
@BassFever4Ever
@BassFever4Ever 2 года назад
This is a very useful lesson. Thank you!
@CurbalEN
@CurbalEN 2 года назад
Wonderful!
@adsuk2003
@adsuk2003 Год назад
Hi Ruth - I've found this extremely helpful. Can you please tell me is it possible to have a button that exports to the current Users (report viewer) My Documents folder OR their own OneDrive, as automate seems to only allow it to export to the report creator.
@gabbuzca
@gabbuzca Год назад
Thank you so much for your videos. My limit is 13000 rows, is it normal?
@jayong2370
@jayong2370 2 года назад
Nice job you guys! So smart 🙂
@CurbalEN
@CurbalEN 2 года назад
Really cool :)
@analyticsadda6080
@analyticsadda6080 2 года назад
Thanks for this video. Really useful
@CurbalEN
@CurbalEN 2 года назад
🥳🥳
@miragliag
@miragliag 2 года назад
as always.... just amazing! Thanks!
@CurbalEN
@CurbalEN 2 года назад
Thank you!! ☺️
@hichamfaidi2857
@hichamfaidi2857 Год назад
@@CurbalEN I'm trying to export data from my Power BI dataset to a CSV file on SharePoint. My dataset contains over 1 million rows, and I've tried adding an 'index_' column using RANKX based on an ID column. However, when I export the data to a CSV file, I only get 2000 rows in the output. I need help with this issue. Can you please provide some guidance on how to export the full dataset to a CSV file on SharePoint? Thank you.
@aleksandrabysiec7477
@aleksandrabysiec7477 Год назад
when I do the loop it appends data in different order- e.g. it appends columns ABC and in another loop it takes order BCD... Is there any solution for this?
@evama383
@evama383 Год назад
I am having the same problem
@DeexithReddy
@DeexithReddy 8 месяцев назад
Thank you for the video,Is there any other way than this
@zanodeloza2636
@zanodeloza2636 8 месяцев назад
This is Awesome. Thank you. Tried this and it works, however, I noticed from the 3rd loop (50000-75000 rows) that it messed up my data. For example, My column [account] has switched values from my [type] column. It only happens on the 3rd loop. 4th loop comes (75,000-100,000 rows) the data is fixed. Not sure what happened. I have a total row of 123k.
@ericgruner9045
@ericgruner9045 Месяц назад
@CurbalEN - I have this same issue. No matter what interval I use, the CSV is messed up. I have only 30,000 rows but 279 columns -
@jahirabbas-t5n
@jahirabbas-t5n Год назад
Hi Curbal, Your video is really helpful for me. I need to implement it, can you please send the pbix file. I need to implement it for my client. I tried implementing the same way, but i am having issue with measure. so, can you please share me the pbix file, i want to view how you have implemented all the dax measures used in this video.
@KsrikYT
@KsrikYT 3 месяца назад
Hi ma'm.. First of all i would like to thank you for all your knowledge sharing and videos. For 150k+ records i am able to process by this video, however i am facing issue with 850k+ records on production environment. Requirement is, end users want all data into a single csv file. Issue: By following the above steps , before creating a file we are doing append to a string variable right!!, there i am facing issue as string limit has reached showing a below error: The variable 'appendCSV' has size of more than '104937539' bytes. This exceeded the maximum size '104857600' allowed. Can you please suggest me please what actions i need to approach here to fix this. Thanks in advance.
@RL-br6el
@RL-br6el 7 месяцев назад
HELP!!!! First of all, this has resolved a significant chunk of my needs, so thanks for this a lot. So I've completed doing all the steps and I get to have the combined data into a single csv file. However, I have a set of data where many columns may have blanks, and realizing that Power Automate is not too kind with blanks, I noticed that when any loop begins with a row where any column has blank, those columns are getting skipped and hence pushed back to the right as the last columns in the output csv. Does anyone know how to avoid this? My initial thought is to replace blank values as one of the steps in the flow. I was trying to read on how Power automate can replace blank values but all the tutorials were about replacing the value for only one column. In my case, almost all of the columns may have blank values, hence I need the replace formula to apply for every column. As a newbie in Power Automate, I can't seem to do that expression correctly. Another option I thought was to replace the blank values in the dataset itself. However, my data is connected via DirectQuery hence transformation is limited. Anyone who knows the fix, appreciate if you can share. And please bear with me as I am still learning. :)
@nooralfar10
@nooralfar10 2 года назад
Amazing.. what if I don't know how many loops I need to do incase we have a real time data set? Can you do a vedio when the trigger is power bi button and we need to get data from power bi to an excel report (not table ex an invoice template)
@ScaphanNetwork
@ScaphanNetwork 2 года назад
You could use empty(PowerBI data) which returns true or false. Then use that as your do until so that it carries on running until there’s no data to return. Although be careful because if you get the code wrong the do until will run for ever! If you click the 3 dots by the do until and open settings you can set the maximum times the do until runs. It defaults to 60.
@nooralfar10
@nooralfar10 2 года назад
@@ScaphanNetwork great thank you I will try it on my data set
@calvintanrio7126
@calvintanrio7126 6 месяцев назад
Hi, how to set dynamic filters in Run a query against a dataset that will followed from the slicer in dashboard? Thank you
@rlds07
@rlds07 Год назад
Excellent video. Congratulations! I need some help... How can I do it if I don't have the index column? Help me please!
@CurbalEN
@CurbalEN Год назад
I only added the index column to check that the download was done correctly. You don’t need it
@rlds07
@rlds07 Год назад
@@CurbalEN Thanks for the feedback
@rlds07
@rlds07 Год назад
@@CurbalEN Sorry to ask again Curbal, if I don't need the index column, how am I going to determine my loop? Can you guide me please?
@CurbalEN
@CurbalEN Год назад
It will depend on your data. Post sample data to the power bi community to get proper help ;)
@shwetasharma4844
@shwetasharma4844 Год назад
After exporting large data from this process, if we apply a filter, and then will it show export data according to it filter ???
@gabrieloliveiradequeirozmo5161
Hello Curbal! Thank you once again for this great content. I have done this process but then I have come with one small question: every filter that is applied to the matrix/table on the report is ignored when generating the .csv file. It means that the export process ignores the filters applied to the report. Is there any way to solve it? Thanks in advance!
@CurbalEN
@CurbalEN Год назад
Yes, check the playlist to see how add filters to the download.
@nishthatank5954
@nishthatank5954 Год назад
hey please tell the which playlist@@CurbalEN
@boniercharline7438
@boniercharline7438 3 месяца назад
Hi, Is it possible to do the same without using an index?
@SANJIVRAI6693
@SANJIVRAI6693 2 года назад
The Column headers repeats for each loop and could be due to nulls the columns arrangement changes some gets missed but those should not happen if there data is of non-null records
@CurbalEN
@CurbalEN 2 года назад
Convert nulls to something else like zero or literal null and drop the headers. In the comments someone did it successfully so it is possible :)
@SANJIVRAI6693
@SANJIVRAI6693 2 года назад
Yes that is not major issue, I skipped those columns currently. For now trying to get the header rows deleted. Maybe filtering out the non numeric from index column is easy to achieve.
@hectorrojas1401
@hectorrojas1401 Год назад
I have an index because mu data is filteres and I cant use the full dataset for some dax expressions i created my final table has index but not complete because the filters, its like 2,3,5,7,8,12,16, can i run this code without problem using variables like you did?
@ernestoandrerodriguez6496
@ernestoandrerodriguez6496 7 месяцев назад
Hi, please how can I do if I don't have an index column? I have orders and I want to export the last 80 days periodically. I was thinking looping through dates but I could be possible that one day exceed the max rows allowed by batch :/
@mh2734
@mh2734 Год назад
This is great video. However when I tried it for some reason the structure of the columns is not the same in the each batch (loop), which result in the data structure that cannot be used.
@strike497
@strike497 Год назад
If you use custom columns for the Create CSV Table action this can be worked around. Not ideal if the dataset structure is likely to change but good for some applications.
@mh2734
@mh2734 Год назад
@@strike497 finally I found out that it was caused by empty / null values. I replaced them with "0" or "n/a" and it helped
@mineeeeful
@mineeeeful 2 года назад
Hii! Isit possible to have a dynamic folder path when creating file in sharepoint/OneDrive? Let’s say I’m gonna create a new folder every month (naming it the latest month). Can I make my flow with a dynamic folder path to choose the folder to save in based on the existing month?
@robyip1843
@robyip1843 Год назад
Hi, I'm curious as to where the some of the rows have gone? The index for the last row is 102158 where as the last row number is 102163, even if you take away 1 for the header row, 102162 it still doesn't match the index?
@smpa0137
@smpa0137 Год назад
Smashing !!!
@CurbalEN
@CurbalEN Год назад
💥
@eddie_9190
@eddie_9190 Год назад
Hi @CurbalEN I got the flow working but I can't seem to replicate it for the Excel version download (XLSX)? The export automatically turns my dates to DateTime format, and it doesn't allow re-formatting in the CSV when I try to change it to a Short Date. Is there a way to replicate this exact flow but as an Excel file? Am I over complicating it? Thank you again for everything Curbal!
@CowCow517
@CowCow517 Год назад
It's sound great. However, I don't know why I can't replicate your result. What I want to do is to export it by month (from Jan - Dec) and combine it into one CSV. Any hins?
@kiterbram
@kiterbram Год назад
Great video! However while testing my Flow I received a 'Flow run timed out" message after 10 minutes. How can that be fixed?
@CurbalEN
@CurbalEN Год назад
I dont know, paste the details on the power automate community, maybe someone knows?
@hichamfaidi
@hichamfaidi Год назад
@@CurbalEN I'm trying to export data from my Power BI dataset to a CSV file on SharePoint. My dataset contains over 1 million rows, and I've tried adding an 'index_' column using RANKX based on an ID column. However, when I export the data to a CSV file, I only get 2000 rows in the output. I need help with this issue. Can you please provide some guidance on how to export the full dataset to a CSV file on SharePoint? Thank you.
@rizwanshaik660
@rizwanshaik660 4 месяца назад
I am able to get the data but it its not respecting the RLS rules, its overriding the rules and exporting all rows in the table, can you please help me, what additional steps are needed to achieve this, Thank you very much
@Psyresidente
@Psyresidente Год назад
Hi. How can we modify the query so users can download the information only for categories from the Slicers filters in the PBI.
@sergioaranda3917
@sergioaranda3917 Год назад
hello, thanks for the video. My dataset have less than 50k rows but when it just export 34k rows without any filter, please help
@Railfan727
@Railfan727 2 года назад
How do I determine if there is a syntax error in the query code? Also, is it possible to accept user inputs to pass into the filter criteria in the query? For example, to prompt for the start and end of a date range...
@CurbalEN
@CurbalEN 2 года назад
Check the playlist with all the videos, I cover everything in detail there.
@Railfan727
@Railfan727 2 года назад
@@CurbalEN I found it. I do have a question though. I'm trying to use a min() expression to pull out the min of a field... min([SHIPPINGDATEREQUESTED])... the editor is refusing to accept that as valid input... if I click on "Update" it doesn't do anything but if I replace the field name with a constant it accepts that... but WHY??? I do not understand how the syntax on this is supposed to work. Thank you.
@rufmau68
@rufmau68 Год назад
it works fine BUT unfortunally i cant trigger it from power bi bottom. Do you have suggestions..... if i use export csv, api create only a csv with 3000 rows on 8700 rows in total
@kimberlysuarez2571
@kimberlysuarez2571 Год назад
Please have a tutorial too for exporting on sharepoint list 😊😍
@harshchovatiya-gh7hn
@harshchovatiya-gh7hn 4 месяца назад
i follow your each steps but my final output data have a duplicate rows. can you please guide?
@brief001
@brief001 Год назад
I've seen several comments from readers that they don't know how to apply this logic if you don't have an 'INDEX' column available. In your response I keep reading "You don't need the id to export the rows, I used it only for checking". But with code 4, a filter is applied to this 'INDEX' column at the first VAR. How should this VAR be adjusted if you don't have an 'INDEX' column?
@CurbalEN
@CurbalEN Год назад
It depends on how your data looks like. See if you have any other column you can use.
@brief001
@brief001 Год назад
@@CurbalEN I am using a calculated table, and it has no INDEX column. I was already looking on the internet if I can add an INDEX column, but I didn't find a solution. But maybe you have a 'trick' to add an INDEX column to a calculated column. (And then not afterwards by adding a calculated column to the calculated table).
@ericholdforth4981
@ericholdforth4981 Год назад
Hi Bas, Did you have any joy with this at all. I'm in a similar prediciment. All that is happening when i remove the filter is the same data is being populated into each file.
@brief001
@brief001 Год назад
Hi @@ericholdforth4981 I solved it quickly now by creating the query table in the Power Query editor, applying the filtering there and adding an index. Only now unnecessarily duplicate data is being read into my data set, so this alternative is not desirable. I'm still looking for a way to add an index column in DAX when creating a new calculated table via DAX.
@NéstorSantiagoAvendaño
@NéstorSantiagoAvendaño 11 месяцев назад
Hello, did you find a solution? @@brief001
@sanketchakane7745
@sanketchakane7745 5 месяцев назад
how did you generated that index column can you pls share that link
@Ben-
@Ben- Час назад
Is it possible to do if i dont have and index?
@KalpeshSangle
@KalpeshSangle Год назад
Can I use this approach if I don't have a index column nor permission to make one in my dataset. In run a query against a dataset part.
@ch.shravya2040
@ch.shravya2040 10 месяцев назад
Do you find any solution
@KalpeshSangle
@KalpeshSangle 10 месяцев назад
@@ch.shravya2040 no not yet trying with power automate and excel
@Ben-
@Ben- Час назад
do you have a solution? same situation for me
@rlds07
@rlds07 Год назад
Curbal, how are you? I come again to ask for help. I was able to perform perfectly all the steps, it worked 100%. You can even see the results of the rows in the loop. However, when I attach the csv, the file comes with only 3720 lines out of a total of 171000. I have approximately 57 columns in the table.
@CurbalEN
@CurbalEN Год назад
Tough to say what the issue is, try to make the file smaller to see if you get more rows
@rlds07
@rlds07 Год назад
I will do that, I will try to reduce it to see the result. Thanks!
@rlds07
@rlds07 Год назад
@@CurbalEN Hello Curbal, how are you? I got an alternative to fetch all the lines, but now what stops me is the error: The request is larger than 94371840 bytes. I think that unfortunately there is no way to get around it, right?
@CurbalEN
@CurbalEN Год назад
Make it smaller. You can decrease the size of the files on each loop. Good luck!
@tolulopeesho8103
@tolulopeesho8103 Год назад
Rafael, please how did you filters to batch the data without an index column.
@manchitas997
@manchitas997 2 года назад
Great video, i was wondering if i can make a table with combine cells, lets imagine we want a report for every sell we got this month, with name of the customer, product and an unique id, lets same a customer buys 10 things, i will like to see it with a combine cell instead of seeing 10 times de customer name, that would make it more easy to reed
@maxstripp1224
@maxstripp1224 2 года назад
You can create a calculated table in the model for that. And query that table
@simonenovati7464
@simonenovati7464 2 года назад
Ciao, is it possible that you need to add 1 because you missed a range in the steps? It is missing the step between 50001 and 75000 because you have done directly 50001 to 100000
@CurbalEN
@CurbalEN 2 года назад
Maybe!
@kudhal_bader2688
@kudhal_bader2688 2 года назад
the problem is PowerBI Run Query will exclude the column if entire column is null or blank, appending above array will skip the column and in some scenario this will create the misaligned columns. I have tested this and getting above error in my data, do you have any suggestion ?
@CurbalEN
@CurbalEN 2 года назад
Substitute blanks to zeros and give the columns names before exporting in power automate
@cristianprifti
@cristianprifti Год назад
While I really appreciate the workaround, as I have a case on which I can try it out, would it have not been easier to have a paginated report ? 😁
@CurbalEN
@CurbalEN Год назад
Can you automate downloads on paginated reports?
@cristianprifti
@cristianprifti Год назад
@@CurbalEN I remember Patrick confirmed once that this is possible, but never tried it out, however it would be worth exploring also the Power Automat action for Paginated report, however I do believe it will also have some limitations :)
@CurbalEN
@CurbalEN Год назад
Like row limitations? Let me know if you try it! :)
@cristianprifti
@cristianprifti Год назад
@@CurbalEN In theory it should have a time limitation mentioned in the documentation, yet it still ran for me. I tried it out with a 15 columns, 290k records export and it worked. You can also loop through a parameter if you would have one and you can also simulate RLS. Seems pretty powerful... Only Microsoft needs to remember that pagination exists also in Pro now and update the power automate action as such :)
@CurbalEN
@CurbalEN Год назад
First, thanks for testing! Question, do you mean that you can only connect to paginated reports with power automate on a premium license?
@irajoe9186
@irajoe9186 Год назад
Is it possible to export that size of data using power automate?
@ambatisrinuvasulareddy6345
@ambatisrinuvasulareddy6345 Год назад
How to export different tables data form power bi in to one excel /csv using power automate at a time ex: i have 4 tables data needs to export one excel file with different sheets using power automate
@irajoe9186
@irajoe9186 Год назад
Hello Curbal, I followed all the steps in the video but one I run my flow I got the error saying: PowerBI query error “the query referenced calculated column XXX which does not hold any data because evaluation of one of the rows caused error”. I am exporting over 700k rows. Any help will be appreciated. Thanks
@CurbalEN
@CurbalEN Год назад
My guess is that the DAX query is failing. Post in the power bi community the details to get help !
@1412chinky
@1412chinky Год назад
Were you able to resolve this issue. I have same error
@HamzaAli-nh2le
@HamzaAli-nh2le Год назад
Hi, While appending CSV's I don't know why but my columns are changing positions, any suggestions?
@balasubramanya-em2or
@balasubramanya-em2or 11 месяцев назад
Did you find any solution. I am facing similar issues
@davsac6175
@davsac6175 7 месяцев назад
It doesn't create the csv file in the right format, it just takes the string variable and put it as it is into the file, with all the headings repeated hundreds of times. Is there another way to append to csv?
Далее
Export data from Power BI - No limits -No headers
3:29
Это было очень близко...
00:10
Просмотров 1,1 млн
5 ways to export data from Power BI
19:31
Просмотров 6 тыс.
MASTERING Bar Charts in Power BI | No more Cut Labels
15:34