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')))
@karthiram83932 жыл бұрын
Thanks Sir ....For sharing the solution...it is working for me
@sedwards2207 Жыл бұрын
Works! Thank you so much for sharing!
@irene751 Жыл бұрын
Thank you! :)
@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 Жыл бұрын
I don’t understand, where do I copy and paste this code into to avoid duplicated headers?
@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 Жыл бұрын
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 Жыл бұрын
That happiness of yours at 22:32- 22:36.. I too just felt the same. Nice work!
@CurbalEN Жыл бұрын
😂 Shared happiness is 2x better!
@sholder99334 ай бұрын
I watched this all the way through just to see the happy dance. It did not disappoint :)
@CurbalEN4 ай бұрын
@sholder9933 😂
@anistplenitudmampuru859610 ай бұрын
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!!!!
@chirschmann310 ай бұрын
Can you expand on how you do this? I'm dealing with this exact issue right now!
@anistplenitudmampuru859610 ай бұрын
@@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
@Knolram9 ай бұрын
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.
@who-m-i-07Ай бұрын
Hi @@anistplenitudmampuru8596 i hope you doing good, actually i am facing the same problem , i have used "select" action right after "run a query against data set" and in from of "select" i put the "first table rows" and then in mapping in left side i put the column names and in right side i put the expression : if(equals(item()?['columnName'],null)," ", item()?['columnName']) I did this for each column Now i used the output of select action in create csv table action , My problem: Now i am getting all the columns names in my desired way (which earlier i was not getting) BUT now i am not able to get any values in rows. I am just getting one header So can you please help!!
@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 Жыл бұрын
Delighted to hear! 😊
@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 Жыл бұрын
You are probably hitting the api limit, reduce the download size until you get all your rows
@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.
@andylewis23297 ай бұрын
Same here. Did you ever find a workaround with no index column?
@raymchin0077 ай бұрын
@@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.
@agnieszkakaczmarzyk25573 күн бұрын
@@raymchin007 hi, do you have it in one file? how can I combine these 12 files in one?
@basel777 Жыл бұрын
Just wanted to let you know that you're my Power BI hero!
@CurbalEN Жыл бұрын
💛
@steviesimsii2 жыл бұрын
Great job Johan, Henk and Luc on your work!
@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.
@蔡玲杰2 жыл бұрын
This is super help. Thanks Curbal! I will never figure it out without your tutorial
@CurbalEN2 жыл бұрын
Glad it was helpful!
@蔡玲杰2 жыл бұрын
@@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?
@CurbalEN2 жыл бұрын
It is on my to-do list ;)
@蔡玲杰2 жыл бұрын
@@CurbalEN Good to know it! Thank you Curbal. You are awesome and made me see the hope.❤!
@ramyagopinath8320 Жыл бұрын
Great content❤ worked like charm. Was struggling from past one week and with this video, was able to accomplish what i wanted😊
@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 Жыл бұрын
Welcome!
@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 Жыл бұрын
@@CurbalEN The appended CSV file also appended the column headers :(
@JegErAlan2 жыл бұрын
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!
@CurbalEN2 жыл бұрын
It is both, if you run into a limit , make your loops smaller :)
@JegErAlan2 жыл бұрын
@@CurbalEN Exactly what I plan to do. :-) I’ll admit, I was surprised that the run a query step was so limited. Thanks again!
@CurbalEN2 жыл бұрын
Ja, api limits always suck :(
@PublicSite2 жыл бұрын
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!!!
@CurbalEN2 жыл бұрын
And to you for the feedback!
@nishthatank5954 Жыл бұрын
Hey does it works with dashboard filters
@CurbalEN Жыл бұрын
@nishthatank5954 I dont think so :(
@nishthatank5954 Жыл бұрын
@@CurbalENhey can u please which will work for solution will work if we apply filters on dashboard and then export data
@CurbalEN Жыл бұрын
@nishthatank5954 i dont think it is possible
@davidcarr779311 күн бұрын
This is extremely useful. Thanks
@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 Жыл бұрын
HI were you able to find a solution to this?
@Cbabel-tr5sd10 ай бұрын
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."
@Knolram10 ай бұрын
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!!!!
@ryannakao2448 Жыл бұрын
Your content helped me so much, thank you for that!
@CurbalEN Жыл бұрын
😃
@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.
@JamesSchrader-x1w11 ай бұрын
This was super helpful - thank you!
@kkaurkify26 күн бұрын
The loop can be solved more easily: The required variables are 1. rangeMin (minRows) = 1 2. rangeSize (incrRows) = 25000 3. totalRows = the response of the first Power BI query (EVALUATE ROW()) The end of the Do Until loop is "rangeMin is grater than totalRows" Only one increment needed: "rangeMin add rangeSize" In the second Power BI query, the filter criteria is AND(Index >= rangeMin, Index < rangeMin + rangeSize)
@LianyueWU17 күн бұрын
thanks a lot for the sharing! while i am wondering how to do this to excel file?
@stlaurent268 ай бұрын
Thank you! Exactly what I needed
@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
@bheemashenmudgal57712 жыл бұрын
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 Жыл бұрын
Yes, this can be very useful
@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!
@russellpetrie29562 жыл бұрын
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?
@CurbalEN2 жыл бұрын
It is the headers on each csv :)
@syedaamir81702 жыл бұрын
@@CurbalEN Is there any way to filter out the headers?
@CurbalEN2 жыл бұрын
Most likely, check with the power automate community
@mrmarcify2 жыл бұрын
@@syedaamir8170 have you discovered how to remove the headers?
@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 Жыл бұрын
🥳🥳
@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.
@LincolnOliver Жыл бұрын
You are amazing!! It helped me a lot!!
@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.
@sharavananp55702 жыл бұрын
Super duper. And that's how it's done . Really useful
@CurbalEN2 жыл бұрын
Yeah !!
@vanthang85923 ай бұрын
hello Curbal, thank you for greatful explaination , could you please share the dataset for we can practice ?
@srilaxmigrao27342 жыл бұрын
Hi good video. Just one query can we add these data into excel by overwriting the excel every time?
@ThomasHampe Жыл бұрын
Thank you SO MUCH, I am learning so much from your videos. ( PS: It works ! )
@CurbalEN Жыл бұрын
Fabulous!!
@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.
@ashwinjoshi3331 Жыл бұрын
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 ?
@abbeyesval5 ай бұрын
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?
@anbum45112 жыл бұрын
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
@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?
@aleksandrabysiec74772 жыл бұрын
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 Жыл бұрын
I am having the same problem
@aritramech Жыл бұрын
Excellent video.. I am going to create my own flow like wise
@bertoso Жыл бұрын
Muito obrigado por compartilhar seu trabalho, me ajudou muito em desenvolver o que preciso. Sucesso!
@rockydon22622 жыл бұрын
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)
@CurbalEN2 жыл бұрын
I don’t think you can do that? Might be wrong though…
@rockydon22622 жыл бұрын
@@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)
@CurbalEN2 жыл бұрын
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 :)
@marcusdipaula2 жыл бұрын
Thank you!!! I needed this!
@CurbalEN2 жыл бұрын
Perfect timing then!!
@JanLewis-y3q Жыл бұрын
This is fantastic! Thank you so much!!!
@BassFever4Ever2 жыл бұрын
This is a very useful lesson. Thank you!
@CurbalEN2 жыл бұрын
Wonderful!
@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!
@sankey2627 ай бұрын
Hi Great Job !! In my case last index came fine, but the total number of rows is missing. Could you help me with this?
@mariasilverdale6444 Жыл бұрын
You are the best!
@LadyLee-u4k9 ай бұрын
Gracias por sus buenos aportes!
@JD-ff7cz2 жыл бұрын
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?
@TheRatnakar20072 жыл бұрын
I face the same issue.....Please help
@martinvanweel1126 Жыл бұрын
@@TheRatnakar2007 same here
@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.
@calvintanrio71269 ай бұрын
Hi, how to set dynamic filters in Run a query against a dataset that will followed from the slicer in dashboard? Thank you
@sekharreddy69492 күн бұрын
@curbal - I am getting error, Too many arguments werer passed to filters function, the maximum filter function is 1. how to fix this ? in Run a query against the dataset
@esther14049310 ай бұрын
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!
@SANJIVRAI66932 жыл бұрын
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
@CurbalEN2 жыл бұрын
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 :)
@SANJIVRAI66932 жыл бұрын
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.
@jayong23702 жыл бұрын
Nice job you guys! So smart 🙂
@CurbalEN2 жыл бұрын
Really cool :)
@miragliag2 жыл бұрын
as always.... just amazing! Thanks!
@CurbalEN2 жыл бұрын
Thank you!! ☺️
@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.
@riyajadon97942 жыл бұрын
Hey, awesome tutorial, can you pls tell us how to remove extra header after getting the data
@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 Жыл бұрын
Yes, check the playlist to see how add filters to the download.
@nishthatank5954 Жыл бұрын
hey please tell the which playlist@@CurbalEN
@rlds072 жыл бұрын
Excellent video. Congratulations! I need some help... How can I do it if I don't have the index column? Help me please!
@CurbalEN2 жыл бұрын
I only added the index column to check that the download was done correctly. You don’t need it
@rlds072 жыл бұрын
@@CurbalEN Thanks for the feedback
@rlds072 жыл бұрын
@@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?
@CurbalEN2 жыл бұрын
It will depend on your data. Post sample data to the power bi community to get proper help ;)
@mubasshir_ansari21342 жыл бұрын
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.
@CurbalEN2 жыл бұрын
I have office 365 E3
@shwetasharma4844 Жыл бұрын
After exporting large data from this process, if we apply a filter, and then will it show export data according to it filter ???
@PriyankaKolanupaka8 ай бұрын
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?
@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 Жыл бұрын
Do you find any solution
@KalpeshSangle Жыл бұрын
@@ch.shravya2040 no not yet trying with power automate and excel
@Ben-3 ай бұрын
do you have a solution? same situation for me
@s.r.1997 Жыл бұрын
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
@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?
@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!
@elenachamorroroman76062 ай бұрын
THXS, I get it, but when I replicate in the Solution part as a Child flow, it is not working
@mineeeeful2 жыл бұрын
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?
@nooralfar102 жыл бұрын
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)
@ScaphanNetwork2 жыл бұрын
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.
@nooralfar102 жыл бұрын
@@ScaphanNetwork great thank you I will try it on my data set
@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?
@zanodeloza263611 ай бұрын
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.
@ericgruner90454 ай бұрын
@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 -
@boniercharline74386 ай бұрын
Hi, Is it possible to do the same without using an index?
@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 Жыл бұрын
I dont know, paste the details on the power automate community, maybe someone knows?
@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.
@ernestoandrerodriguez649610 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@strike497 finally I found out that it was caused by empty / null values. I replaced them with "0" or "n/a" and it helped
@KsrikYT7 ай бұрын
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-br6el11 ай бұрын
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. :)
@DeexithReddy Жыл бұрын
Thank you for the video,Is there any other way than this
@Railfan7272 жыл бұрын
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...
@CurbalEN2 жыл бұрын
Check the playlist with all the videos, I cover everything in detail there.
@Railfan7272 жыл бұрын
@@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.
@Psyresidente Жыл бұрын
Hi. How can we modify the query so users can download the information only for categories from the Slicers filters in the PBI.
@sanketchakane77458 ай бұрын
how did you generated that index column can you pls share that link
@analyticsadda60802 жыл бұрын
Thanks for this video. Really useful
@CurbalEN2 жыл бұрын
🥳🥳
@sergioaranda39172 жыл бұрын
hello, thanks for the video. My dataset have less than 50k rows but when it just export 34k rows without any filter, please help
@harshchovatiya-gh7hn7 ай бұрын
i follow your each steps but my final output data have a duplicate rows. can you please guide?
@rizwanshaik6607 ай бұрын
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
@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 Жыл бұрын
It depends on how your data looks like. See if you have any other column you can use.
@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Hello, did you find a solution? @@brief001
@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.
@gabbuzca2 жыл бұрын
Thank you so much for your videos. My limit is 13000 rows, is it normal?
@Ben-3 ай бұрын
Is it possible to do if i dont have and index?
@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
@rufmau682 жыл бұрын
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
@kimberlysuarez25712 жыл бұрын
Please have a tutorial too for exporting on sharepoint list 😊😍
@anuragsingh711 Жыл бұрын
what if we don’t have index column in data source any way around that.
@piotr5517 Жыл бұрын
My flow works like on the recording, but I really need to finally save the file to Excel (.xlsx). How to do it? Please help me 🙏
@CurbalEN Жыл бұрын
I show in one of my other videos how to export to excel. Check it out on the export playlist.
@irajoe9186 Жыл бұрын
Is it possible to export that size of data using power automate?
@HamzaAli-nh2le Жыл бұрын
Hi, While appending CSV's I don't know why but my columns are changing positions, any suggestions?
@balasubramanya-em2or Жыл бұрын
Did you find any solution. I am facing similar issues
@hectorrojas1401 Жыл бұрын
I followed eveey single step, it runs well, but the files in teh folder contains the same information, i have 9000 rows, it generates two files of 6000 rows because is mi limit and both contain the same info, the last 3000 rows is not being pulled, what im doing wrong???
@rlds072 жыл бұрын
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.
@CurbalEN2 жыл бұрын
Tough to say what the issue is, try to make the file smaller to see if you get more rows
@rlds072 жыл бұрын
I will do that, I will try to reduce it to see the result. Thanks!
@rlds072 жыл бұрын
@@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?
@CurbalEN2 жыл бұрын
Make it smaller. You can decrease the size of the files on each loop. Good luck!
@tolulopeesho8103 Жыл бұрын
Rafael, please how did you filters to batch the data without an index column.