Easy Looping in Power BI/Power Query

  Рет қаралды 101,633

BI Elite

BI Elite

Күн бұрын

Пікірлер: 55
@MrAszpic
@MrAszpic 4 жыл бұрын
This is the sort of content people love to learn in Power Query. Power Query is mostly magic and recipies for most of the folks, who only use the most basic stuff because it's what most tutorials and guides teach. Thanks for the vid, keep it going!
@BIElite
@BIElite 4 жыл бұрын
Thanks Ary! You can take Power Query so deep if you want to. Personally, I relied on the GUI for most of my transformations for far too long.
@GusGuitarPD
@GusGuitarPD 3 жыл бұрын
Oh man, I am actually dancing right now! The 3rd example was exactly what I was looking for to get all results from a API. Thank you SO MUCH!
@AnandDwivedi
@AnandDwivedi 4 жыл бұрын
best explanation. I could not explain so systematically in my classes.
@BIElite
@BIElite 4 жыл бұрын
Thanks Anand!
@JustinKemp1992
@JustinKemp1992 4 жыл бұрын
This is amazing. I learned a few different things in one video, thank you for sharing!
@BIElite
@BIElite 4 жыл бұрын
So happy to hear, Justin!
@chiquita683
@chiquita683 3 жыл бұрын
Do these codes work in PowerPivot? I know not all PowerBI functions work in PowerPivot but looking for how to do looping in PowerPivot's Dax. Generateseries doesn't seem to work
@LincolnOliver
@LincolnOliver 2 жыл бұрын
I have been looking for this a lot of weeks. THANK YOU VERY MUCH!!! You got a new fan!!!
@HachiAdachi
@HachiAdachi 4 жыл бұрын
🤯 @ call! Who knew! (I didn't). Awesome!! Thank you, Parker!
@BIElite
@BIElite 4 жыл бұрын
Right! The best kept secret.
@Capitalist89
@Capitalist89 3 жыл бұрын
Thank you for this video. I had only thought to use List.Generate to create loops. This is much cleaner and easier to understand approach. Thanks for sharing.
@AdiCristea
@AdiCristea 4 жыл бұрын
Awesome work as usual, Parker, thank you!
@BIElite
@BIElite 4 жыл бұрын
Thanks Adi!
@KNP-BI
@KNP-BI 3 жыл бұрын
Thank you, this is gold. And now that I've got the whole "relative path" working with the Web.Contents in my Dataflow I have a working solution.
@Ryan-zz6hh
@Ryan-zz6hh 3 жыл бұрын
Excellent video!! Can't wait to binge watch the rest of your channel!
@erikbohn2771
@erikbohn2771 4 жыл бұрын
OMG! Mind blown! Thank you, this will be so useful.
@BIElite
@BIElite 4 жыл бұрын
Right, I can think of a bunch of use cases for this! Thanks for watching.
@adithyanamada8550
@adithyanamada8550 2 жыл бұрын
Hi I have one quick question, can I use "Measure" inside the advanced query editor if yes can you please let me know how.
@hieulaivu9984
@hieulaivu9984 2 жыл бұрын
I love you bro. You don't know how valuable this tutorial means to me. Keep up the good work bro
@tvj585
@tvj585 2 жыл бұрын
I have a list of urls (csv files) which a service returns to me and I need to download all those files from cloud storage. Is the approach shown in the video memory efficient?
@ioanniskiokpas4603
@ioanniskiokpas4603 2 жыл бұрын
Greetings! Any insight on how we can loop with DAX? Say for an Exponential Moving Average?
@BIElite
@BIElite 2 жыл бұрын
I’ve tried to think through this exact use case more times than I care to admit. I’m afraid it’s not possible… sorry!
@ioanniskiokpas4603
@ioanniskiokpas4603 2 жыл бұрын
@@BIElite thank you for the response!
@sarahkaufman4505
@sarahkaufman4505 2 жыл бұрын
Hello! I am trying to implement similar code but getting an error saying a cyclic reference was encountered during evaluation. Any ideas what might be causing this?
@tnsparks
@tnsparks 2 жыл бұрын
I love your videos, I have 1 remark though that I learned after using your function feature to bring in Microsoft Forms data. When I publish it to power BI app and want to schedule a refresh it wont let it happen. It says because its a dynamic data source it wont schedule refreshes :( I tried to find a work around using the functions but have not been successful yet in finding a way to schedule a refresh.
@amarjitbhagat1207
@amarjitbhagat1207 2 жыл бұрын
Hey, Did you find any solution for this issue?
@darrenvinales419
@darrenvinales419 3 жыл бұрын
Thanks very much, this has already helped me.
@GusGuitarPD
@GusGuitarPD 3 жыл бұрын
I applied the exact same code but I'm getting an error when I try to invoke the function. "A cyclic reference was encountered during evaluation." How can I avoid that error?
@astatine0085
@astatine0085 Жыл бұрын
Thanks, very helpful tutorial.
@alanfoley5900
@alanfoley5900 3 жыл бұрын
Hi Parker - thanks for sharing - Just came across this - Excellent and extremely useful piece of M code - how could you tweak this so it does not require any manual input (currently you need to Input 0 as a parameter to the function) - I have a requirement where I need to implement looping "nextpage" something similar to this in a batch process - obviously a called interactive function won't work - how would you handle the "RelativePath - if loop =0" part internally - care to share a solution? much appreciated - a small mod I had to make was that in my case the 'nextpage' variable was not there on the last page so this worked for me "token = try Source[nextpage] else null" - thanks Alan
@macm7730
@macm7730 4 жыл бұрын
Hi... Thanks for all the videos... One quick question here. Do you mind sharing your thoughts on which exam we should take for Power BI certification? what do you recommend? DA-100 or 70-778?
@israry5623
@israry5623 4 жыл бұрын
@Mac M I believe it is obvious mate, 70 778 is going to be retired in Jan21 and DA 100 already has been rolled out - You Should go for DA100
@BIElite
@BIElite 4 жыл бұрын
Agreed with Israr! The DA-100 exam is the one to take moving forward.
@macm7730
@macm7730 4 жыл бұрын
@@israry5623 Thanks!
@macm7730
@macm7730 4 жыл бұрын
@@BIElite Thanks
@sadyaz64
@sadyaz64 4 жыл бұрын
usefull as always thank you
@BIElite
@BIElite 4 жыл бұрын
Thanks sadyaz!!
@jorgechoypernia
@jorgechoypernia 2 жыл бұрын
Thanks for the tutorial... It was really useful... Would you be able to show how can this work for API that have a combination of PATH parameters and QUERY parameters in the URL? For example, /api/v3/feature/{fid}/history/sessions/{type}?dateStart=&dateEnd= ... Thanks
@inaciogoes6317
@inaciogoes6317 2 күн бұрын
had returned me that error: Expression.Error: A cyclic reference was found during the evaluation. Details Reason = Expression.Error
@isalys1867
@isalys1867 4 жыл бұрын
Thank you for the video :) I need help because I can't publish to web my power bi report. I don't have tenants settings in my admin portal. What can I do? I found that the solution is to create an admin for my domain name server but I don't own the DNS. So what can I do?
@israry5623
@israry5623 4 жыл бұрын
Maysa Abou Jamra you can join the group here and place your question, I am sure you will get the correct answer to your query as I find this group very helpful facebook.com/groups/powerbi/
@kennethstephani692
@kennethstephani692 3 жыл бұрын
Great video!
@BIElite
@BIElite 3 жыл бұрын
Thank you Kenneth!
@marketgrunt
@marketgrunt 4 жыл бұрын
Masterful. 👍
@BIElite
@BIElite 4 жыл бұрын
Thanks for watching!
@gustavoballesteros1560
@gustavoballesteros1560 3 жыл бұрын
Great video,
@keagankemp6275
@keagankemp6275 3 жыл бұрын
Wow mind blown. Thanks a mil
@BIElite
@BIElite 3 жыл бұрын
No problem, Keagan!
@keagankemp6275
@keagankemp6275 3 жыл бұрын
@@BIElite I have one issue though I have a page with player stats I have the names but for each player they have a unique I’d that is generated randomly I guess, I would like to have the loop find this random number when I supply the name is this possible? I’m new to loops or is there some other way to get this?
@emmanuelkamara3138
@emmanuelkamara3138 4 жыл бұрын
Hello sir, Just saw one of your KZbin videos and I decided to automatically subscribe. Can someone please help me with the following questions Q1. How can I calculate sales mix in power BI? I have 3 categories of products (they all have sub products). category1= 40 unit c2 =50 units c3 = 20 unit total sales= 110 . sales mix for category1= 40/110. How to do this in power bi? q2. so basically I sell products on credit ....the outstanding column shows how much the customer should pay for payment to be completed. The other column shows the number of days for the product to be disabled. anything less or equal to -30 is cash at risk...meaning that the product has been disabled for more than 30 days. I want to calculate the portfolio at risk in power Bi but I don't know how to do it. Portfolio at risk= outstanding balance of products that has
@vishalpawashe9487
@vishalpawashe9487 3 жыл бұрын
Thanks!
@solidoffortitude
@solidoffortitude 4 жыл бұрын
It's not looping. In programming it is called recursion. Love your tips anyway, recent subscriber.
@BIElite
@BIElite 4 жыл бұрын
I agree on the distinction, but for 95% of Power BI users it's the same thing. Thanks for the sub!
@SaurabhAgrawal32
@SaurabhAgrawal32 4 жыл бұрын
1st comment and 2nd like with 4th view. ☺
Building a Power BI Admin View [Part 3]: User Activity Data!
18:33
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 7 МЛН
Teaching a Toddler Household Habits: Diaper Disposal & Potty Training #shorts
00:16
List.Generate() Function and Looping in PowerQuery
23:56
Exceed Learning
Рет қаралды 25 М.
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Microsoft Hates Greg - DAX While Loops for Microsoft Power BI
19:45
Microsoft Hates Greg
Рет қаралды 2,8 М.
How to Use List Generate to Make API calls in Power Query
18:27
BI Gorilla
Рет қаралды 40 М.
each & underscore_  in Power Query Explained
9:58
Goodly
Рет қаралды 48 М.
Power Query - Looping and API Calls!
9:55
BA Sensei
Рет қаралды 8 М.
List.Generate in Power Query - Tutorial with Easy Examples
22:56
APQ15 | How "each" & "_" work? | Advanced Power Query
22:54
ِAAA Excel English
Рет қаралды 3,2 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН