Calling a Stored Procedure using Incremental Refresh in Power BI? We think so!

Поделиться
HTML-код
  • Опубликовано: 31 янв 2023
  • Have you wanted to use a Stored Procedure with Incremental Refresh? Patrick has a way that you can do just that!
    Sandeep's blog:
    pawarbi.github.io/blog/power%...
    Stored Procedures: learn.microsoft.com/sql/relat...
    Sample:
    github.com/guyinacube/demo-fi...
    📢 Become a member: guyinacu.be/membership
    *******************
    Want to take your Power BI skills to the next level? We have training courses available to help you with your journey.
    🎓 Guy in a Cube courses: guyinacu.be/courses
    *******************
    LET'S CONNECT!
    *******************
    -- / guyinacube
    -- / awsaxton
    -- / patrickdba
    -- / guyinacube
    -- / guyinacube
    -- guyinacube.com
    **Gear**
    🛠 Check out my Tools page - guyinacube.com/tools/
    #PowerBI #IncrementalRefresh #GuyInACube
  • НаукаНаука

Комментарии • 50

  • @ItsNotAboutTheCell
    @ItsNotAboutTheCell Год назад +11

    Sandeep Pawar is a great community contributor! Love this video!

    • @SandeepPawar1
      @SandeepPawar1 Год назад +4

      Thanks Patrick and Alex. I made it big, finally 😀

  • @bz4195
    @bz4195 Год назад

    Great video, short, clever and useful, thanks Patrick! 👍🏻🙂

  • @soumikdas-hw9vn
    @soumikdas-hw9vn Год назад

    This video is amazing, I was stuck where I had a monthly agggregated file in Synapse where daily dates were not present, only first and last day of the month was present, using normal import with incremental refresh was not working, but these method works like a charm. Thanks buddy.

  • @VictorYamaykin
    @VictorYamaykin Год назад

    Can't wait to try it

  • @adaml5886
    @adaml5886 Год назад +3

    Awesome concept!

  • @guilhemdelorme9089
    @guilhemdelorme9089 Год назад +3

    Great explanation as always. I'm actually trying to test if incremental refresh car work on a view (defined as SELECT clause on the Facts table with some joins in there as well). So far no improvement in the dataset refresh time, so I guess not... Although I couldn't find any definitive answer on that point online.
    You seem to drop in the video that it should be possible? Is that so?

  • @roborchiston9419
    @roborchiston9419 5 месяцев назад

    oh that is some of the dopest coding presentation i've ever seen. don't know what tools that is but super nice use of Highlighting and zooming which I've only seen used at in person presentations, not online. So so much easier to follow when you can see what the presenter is drawing attention to. Only thing I could add is use a bigger red mouse pointer for visability and your video of yourself seems out of focus (maybe that was intentional to stop the bots...). thanks!!

  • @PatrykLukanowicz
    @PatrykLukanowicz Год назад

    Hi, as always great job there! I am little bit concerned about partitions and reload for last year data. I am aware how new set of records is being created in this approach and limited in this example to 1 year of data. But what logic is being used underneath to delete old records that are assigned to last 1 year in case they changed in mean time.

  • @emmanuelagbesola4618
    @emmanuelagbesola4618 Год назад

    a brilliant solution

  • @razelllamanzares5368
    @razelllamanzares5368 Год назад

    Thank you for this tutorial, is that possible to do this on Sept 2022 PBI version

  • @amarkhaliq5020
    @amarkhaliq5020 Год назад +2

    Can you show how you manage your datasets in the database for example your tables or views. Things such as names for tables, sql code, say you have your customers table how would you bring the table in for funded sales or pipeline sales would you filter the customers in power query or create two seperste customer tables/views

  • @bankacsp
    @bankacsp Год назад

    Can we do this with dataflows too ?

  • @juanpablocastelli2712
    @juanpablocastelli2712 Год назад

    Do you know if this functionality are going to added for direct query models? I need it!!!!

  • @adrianhenning3399
    @adrianhenning3399 6 дней назад

    Hi Patrick, this is awesome.
    I have a unique requirement on top of this. We have multiple client databases, all the same structure and without a DW in place. We need to connect to these one-by-one using dynamic connection strings etc.
    Since the example you explained speaks to "Import Mode", do you have any advise how we can use direct query or ... point me in the direction of doing all this without duplicating e few 100 reports to share with customers, since they will all have their own datasets.
    Oh yes, on top of that, the are being embedded in an application 😝
    Any help will be appreciated! 🤗

  • @wbwestful
    @wbwestful Год назад +1

    I'm new to Power BI. Does this work with Embedded reports and does it require a Pro license?

  • @JohnKpl
    @JohnKpl Год назад

    Holy shit. That's genius

  • @TimHortons-sm6rf
    @TimHortons-sm6rf Год назад +1

    Hi Patrick & GIAC Team, Greatly appreciate for this video, particularly the sprocs for pbi incremental refresh. Is it possible to pass other parameters other than the datetime through native query if sprocs have them? Unfortunately, I am seeing an error message while loading the data into pbi desktop. Microsoft SQL: Incorrect syntax near the keyword 'Exec'. Must declare the scalar variable "@StartDate".Thanks.

  • @sravanpesari1145
    @sravanpesari1145 8 месяцев назад

    I am currently facing one more issue with how to call Oracle stored proc with parameters in Direct Query mode? Appreciate your inputs or any workaround
    Thanks

  • @gauravvarma6430
    @gauravvarma6430 6 месяцев назад

    Hi Patrick, ned your help on an odbc database created by a SCADA software called Clear scada. We are struggling with trying to implement incremental refresh with this database

  • @maribelmanibo334
    @maribelmanibo334 9 месяцев назад

    does this help get around the limitation of being unable to download PBIX from web service because of an incremental refresh set up?

  • @user-gk8lg3ub2m
    @user-gk8lg3ub2m 7 месяцев назад

    post video for slicer with store procedure

  • @nzburger
    @nzburger 9 месяцев назад

    For some reason my incremental refresh says that I have to set up parameters, even though I set them up the same as in the example. Do I have to select DirectQuery mode when initially setting up the connection?

    • @nzburger
      @nzburger 9 месяцев назад

      Found the answer...the RangeStart and RangeEnd have to be datetime, not just date

  • @georgiescicluna8405
    @georgiescicluna8405 Год назад +1

    Hi Patrick great video. Unfortunately when l set the Incremental refresh i get a warning message saying "Unable to confirm M query can be folded" It all seems to be working. Refresh time doesnt seem to have reduced to much though.

    • @GuyInACube
      @GuyInACube  Год назад

      Did you verify you added the EnableFolding Parameter as shown in the video?

    • @georgiescicluna8405
      @georgiescicluna8405 Год назад

      ​@@GuyInACube sure did

  • @michalwroblewski3089
    @michalwroblewski3089 Год назад

    Great video. This is exactly what we are looking for. Unfortunately, I keep getting error: Microsoft SQL: Incorrect syntax near the keyword 'exec'. Must declare the scalar variable "@StartDate". It loads in Power Query editor and data loads, but once closing and applying it pops up! Please help! :D

    • @michalwroblewski3089
      @michalwroblewski3089 Год назад

      SOLVED: Make sure that you are getting data in Import Mode (not Direct Query!)

  • @megabuilds3007
    @megabuilds3007 Год назад +1

    I didn't get this Store procedure thing, can anyone helpme understand it....

    • @GuyInACube
      @GuyInACube  Год назад +4

      It's a T-SQL construct. There is a link in the description for the documentation on it if that helps.

  • @abinashbehera7518
    @abinashbehera7518 Год назад

    Can Snowflake Procedure be called with Native Query feature in Power BI? I tried but it seems doesn't support, any work around Please suggest.

  • @ifernandoubbi
    @ifernandoubbi Год назад

    Hi,
    I have created the stored procedure working fine, then created all the steps in Power BI and when I close Power Query there is an error message "Microsoft SQL: Incorrect syntax near the keyword 'EXEC'. Must declare the scalar variable "@StartDate"".
    Do you know what could this be?

    • @ifernandoubbi
      @ifernandoubbi Год назад

      Sorry, my mistake I was using a PBI version from a couple of months ago.
      After downloading the last version, this works great! thanks

    • @michalwroblewski3089
      @michalwroblewski3089 Год назад

      @@ifernandoubbi which version did you install ? On my end the issue keeps appearing

    • @ifernandoubbi
      @ifernandoubbi Год назад

      @@michalwroblewski3089 December 2022.

    • @andresna34
      @andresna34 10 месяцев назад

      Confirm, You need to use a newer version of Power Bi desktop, I had the same issue and solved it downloading the last version

  • @DarkOri3nt
    @DarkOri3nt Год назад

    Use table value functions.

  • @davidcurtin4360
    @davidcurtin4360 5 месяцев назад

    I cant replicate this in dataflow in the service, keeps adding an extar step for incremental

  • @vaibhavmathur3128
    @vaibhavmathur3128 9 месяцев назад

    Q: How to call a stored procedure from Amazon redshift into power bi ?

  • @MikeHaynes-xd8mw
    @MikeHaynes-xd8mw 2 месяца назад

    Why didn't you have to define RangeStart and RangeEnd?

  • @TheIcyfevor
    @TheIcyfevor Год назад

    I do not believe query folding is actually working. Yes, it shows View Native Query and you can click on it, however, if you do any additional steps, you lose the option to select View Native Query, which leaves me to believe that enablingfolding=true is misleading and is just visually happening vs. actually happening.

    • @davidcurtin4360
      @davidcurtin4360 5 месяцев назад

      Patrick showed the sproc being called once in trace

  • @jvalasek4
    @jvalasek4 Год назад

    Please, do not shout at beginning of videos , otherwise you are awesome :D

  • @Zakir-Islam
    @Zakir-Islam 2 месяца назад

    You do not feel professional or serious person during your video