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

Поділитися
Вставка

КОМЕНТАРІ • 52

  • @ItsNotAboutTheCell
    @ItsNotAboutTheCell Рік тому +12

    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! 👍🏻🙂

  • @roborchiston9419
    @roborchiston9419 7 місяців тому

    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!!

  • @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.

  • @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?

  • @johann-andreasspindler7370
    @johann-andreasspindler7370 16 днів тому

    Hi Patrick, great video! Can you show how to pass a whole table from an other datasource to a storedProcedure as TableType? Is it even possible?

  • @adrianhenning3399
    @adrianhenning3399 2 місяці тому

    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! 🤗

  • @VictorYamaykin
    @VictorYamaykin Рік тому

    Can't wait to try it

  • @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

  • @emmanuelagbesola4618
    @emmanuelagbesola4618 Рік тому

    a brilliant solution

  • @razelllamanzares
    @razelllamanzares Рік тому

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

  • @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.

  • @JuanFerrer888
    @JuanFerrer888 Місяць тому

    Hi Patrick, this is works too in oracle databases?

  • @wbwestful
    @wbwestful Рік тому +1

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

  • @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.

  • @kumarsyrma
    @kumarsyrma 9 місяців тому

    post video for slicer with store procedure

  • @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

  • @juanpablocastelli2712
    @juanpablocastelli2712 Рік тому

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

  • @gauravvarma6430
    @gauravvarma6430 9 місяців тому

    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

  • @JohnKpl
    @JohnKpl Рік тому

    Holy shit. That's genius

  • @bankacsp
    @bankacsp Рік тому

    Can we do this with dataflows too ?

  • @sravanpesari1145
    @sravanpesari1145 11 місяців тому

    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

  • @maribelmanibo334
    @maribelmanibo334 11 місяців тому

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

  • @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!)

  • @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.

  • @nzburger
    @nzburger 11 місяців тому

    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 11 місяців тому

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

  • @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.

  • @vaibhavmathur3128
    @vaibhavmathur3128 11 місяців тому

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

  • @davidcurtin4360
    @davidcurtin4360 8 місяців тому

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

  • @DarkOri3nt
    @DarkOri3nt Рік тому

    Use table value functions.

  • @MikeHaynes-xd8mw
    @MikeHaynes-xd8mw 4 місяці тому

    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 8 місяців тому

      Patrick showed the sproc being called once in trace

  • @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 Рік тому

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

  • @jvalasek4
    @jvalasek4 Рік тому

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

  • @Zakir-Islam
    @Zakir-Islam 4 місяці тому

    You do not feel professional or serious person during your video