Це відео не доступне.
Перепрошуємо.

DirectQuery Connection in Power BI How does it work Limitations and Advantages

Поділитися
Вставка
  • Опубліковано 17 сер 2024

КОМЕНТАРІ • 57

  • @YASAP9
    @YASAP9 2 роки тому

    Thank you very much for the video ! you're explaining things very well, I liked the way you simplify by giving real time examples

  • @artemburov9456
    @artemburov9456 3 роки тому

    Hi Reza! Simple and clear about quite complex things. Thanks a lot!

  • @johng5295
    @johng5295 2 роки тому

    Thanks in a million! Very well explained. This is the nth time that I am watching this again. Great content. Awesome. I couldn't find this explanation--simply put anywhere else. “Great teachers are hard to find”. Grade: A++ 💥

  • @osPA78
    @osPA78 2 роки тому

    Thank you, Raza, for this awesome video! DQ is the direction that I will be going with because of the size of our dataset. One question that I do have, and this is question that Ilse Espino Barros already asked, is refreshing a data from a DQ to a SQL database and Excel file.
    Many thanks!
    oP

    • @RADACAD
      @RADACAD  2 роки тому

      When you use DQ, there won't be any scheduled refresh. the data is fresh anytime report is refreshed, or you select a slicer or anything that normally triggers a query sent to the database.
      For the dashboard however, because there is no interaction, there is a automatic refresh of the visuals every 15 minutes (or you can change it to up to 1 hour if you want)

  • @ertf7777
    @ertf7777 5 місяців тому

    How to write SQL query & where? I dont see any query we can right in power bi like tableau

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

    Hi Radacad,
    When i am importing data from datamart with direct query getting below error. Could you please help me on this.
    this query contains transformations that can't be used for directquery

  • @namanjain3366
    @namanjain3366 3 місяці тому

    Best Explaination

  • @vijayan311
    @vijayan311 4 роки тому +2

    Hi , is it possible to have direct query with an ODBC connection to Aurora Postgress database hosted on AWS?

    • @RADACAD
      @RADACAD  3 роки тому

      Here you can find all the data sources supporting DQ: docs.microsoft.com/en-us/power-bi/connect-data/power-bi-data-sources

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

    This has been so helpful. Thank you

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

    Is there a way to view the data in the tables while using Direct Query? I have to connect to an unfamiliar database using Direct Query. Any tips are greatly appreciated.

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

    well explained

  • @SDbhagtisongs
    @SDbhagtisongs 2 роки тому

    Hi i am getting the below error in advance query option please help me resolve this
    "this query contains transformations that can't be used for directquery."

  • @ilseespinobarros2418
    @ilseespinobarros2418 2 роки тому +2

    Hi Raza, thank you for your video! I have a question, if I have a report with a Direct Query in SQL and another table coming from Excel, how does the refresh work? I tried to make a change in my Excel file but the report did not seem to update that.

    • @osPA78
      @osPA78 2 роки тому

      This is something that I would like to know as well. I also have a DQ to a SQL database and will be needed to get data from an Excel file that holds data that is not available in the SQL database.

    • @RADACAD
      @RADACAD  2 роки тому +1

      If you have part of the data DQ (such as SQL Server database data), and part of it imported (such as Excel data), then your connection is Composite Mode. Meaning it uses DirectQuery for some tables, and Import for some others. In a case like that, your Import tables will be dependent on the scheduled refresh of the dataset to get refreshed, and the frequency of their refresh will be determined in the scheduled refresh of the dataset.

    • @ilseespinobarros2418
      @ilseespinobarros2418 2 роки тому

      @@RADACAD thank you!

  • @dougkimzey4518
    @dougkimzey4518 2 роки тому

    Is there any way to call a stored procedure that has no parameters from Power BI in DirectQuery?

  • @sau002
    @sau002 2 роки тому

    Does Power BI allow us to create a shared dataset using Direct Query? I want to avoid the hassle of selecting Tables and creating relationships for every report.

  • @nitschaubey10
    @nitschaubey10 2 роки тому

    Do composite model's many to many relationships create duplicates?

  • @JasonBay-RealEstateInvesting
    @JasonBay-RealEstateInvesting 2 роки тому +2

    I love the content. very helpful thank you. but it sounds like you have a cold which makes it so hard to listen to your voice.

  • @hamidansari9441
    @hamidansari9441 2 роки тому

    Hi Raza. Thanks for the video , do you know how can i prevent Powerbi to load initial data? i mean when user open report nothing show , until they click on select any filer or click on apply filter button ?

  • @ajitkumar4684
    @ajitkumar4684 4 роки тому

    Hi Raza...I am trying to connect Azure SQL DW in Direct Query mode with SSDT and get this error - Failed to save modifications to the server. Datasource has authentication kind OAuth2. This is not supported in DirectQuery 1400 mode.
    I read in the MS docs that Direct Query mode is not supported with OAuth credentials.
    Need help.

  • @sujithkumarjack
    @sujithkumarjack 3 роки тому

    Excellent explanation..!! Well done!!

  • @andersonmonroy6123
    @andersonmonroy6123 4 роки тому

    Hello good day, I have a problem, I use live connection to build the reports and power bi embedded to visualize them, when I am going to export the data to excel xlsx it does not export completely, I mean , the count is 90.000 and the rows exported are 59.000, it is a kind of restriction due to the live connection? Thank you so much!

  • @vilmosklebik5603
    @vilmosklebik5603 2 роки тому

    Hi Raza,
    I am trying to connect multiple SAP BW queries in the same time in direct query mode. Normally I am using import query (with no problem), but this time I need the direct query mode because of the data size - millions of lines.
    The problem is, that if I choose direct query mode with SAP BW connection, BI doesn't let me to connect to a second query in direct mode. Do you know if it is a limitation on BI side, or is it a kind of gateway limitation from SAP BW side? I hope it's only a bad method or settings problem.

  • @vijaybhargavhello
    @vijaybhargavhello 3 роки тому

    Hello, Thanks for your tutorial. How can I see real-time data from Cassandra? Will direct query work? if yes how? if not what are other ways that I can get real-time data from Cassandra to BI.

  • @pranavb9768
    @pranavb9768 3 роки тому

    Nicely explained!

  • @sofievanwetswinkel9076
    @sofievanwetswinkel9076 2 роки тому

    Hi Radacad, Thnx for the video! How do you create date hierarchy for date columns when you import SQL data by direct query mode? In import mode the columns have automatically the right hierarchy, in diect query mode they haven't. Do you have a video that shows how to do that?

    • @gustavocoleto1335
      @gustavocoleto1335 2 роки тому

      Hi Sofie, can you tell me if you solved this issue, please? I'm with the same problem.

  • @ExcelForPros360
    @ExcelForPros360 4 роки тому

    So, can we say that, in a Direct Query, if the 'Query folding' doesn't happen then the visuals will show an error.

    • @RADACAD
      @RADACAD  4 роки тому +3

      In direct query mode: query folding will happen for sure. There is no in memory processing. If a set of power query transformations cannot be folded into SQL statement, it will come up with the error in the query editor itself and won't allow you to close an apply until resolving it.

  • @sau002
    @sau002 2 роки тому

    Very helpful

  • @krishraj4
    @krishraj4 4 роки тому

    Thanks Reza , can we add these as well ?
    Pro- real time reporting
    Con- 1M rows only

    • @RADACAD
      @RADACAD  4 роки тому +2

      It won't be real-time reporting. real-time is a totally different story. real-time is about when the change happens in the data source, Power BI dashboard automatically shows it, which is not possible at the moment with DirectQuery. You have to use Streaming datasets for that, similar to this demo I showed: radacad.com/monitor-real-time-data-with-power-bi-dashboards
      It can be done through REST API, or Azure Streaming analytics or PubNub.
      And for your second comment: 1M rows is not the amount of the data shown in the report. With DQ you can have unlimited dataset size. However, if one query fetches more than 1M rows of the data it won't be possible. That means you have a table or matrix visual which is showing more than 1M rows of data. even if such a thing is possible, it is the worst type of visualization anyways. visualization should be always filtered. there is no point of showing 1M rows in the table when you can only see 20 rows in the page and have to scroll each time to see rows under that. to get to the 1M row you have to scroll down a LOT.

    • @abhayverma2585
      @abhayverma2585 4 роки тому

      @@RADACAD Hi Reza, I am a new fan of yours. Especially your Date-Dimension creation tutorial was amazing and very informative.
      I am very confused about this particular statement
      " 1 - Million Rows" and would appreciate some clarity. On Microsoft website it says,
      "There's a one-million-row limit for returning data when using DirectQuery, unless using a Premium capacity. The limit """ doesn't affect aggregations or calculations used to create the dataset returned using DirectQuery.""" It only affects the rows returned. Premium capacities can set maximum row limits, as described in this post.
      For example, you can aggregate 10 million rows with your query that runs on the data source. The query accurately returns the results of that aggregation to Power BI using DirectQuery IF """ the returned Power BI data is less than 1 million rows. If over 1 million rows are returned from DirectQuery, Power BI returns an error (unless in Premium capacity, and the row count is under the admin-set limit)."""
      So if the source data has more then 1 million row and I perform an aggregation, it will give me an error if not on Premium?

  • @bijilashobanabalakrishnan7718
    @bijilashobanabalakrishnan7718 4 роки тому

    Hi Raza, Thanks for this video! Can we say direct query is best for real time data, with less number of well managed(column store indexed) records ?

    • @RADACAD
      @RADACAD  4 роки тому

      not for real-time data. real-time data needs a data PUSH scenario, which uses streaming datasets.
      DirectQuery is for scenarios with HUGE tables, trillions of rows for example.

    • @pranavb9768
      @pranavb9768 3 роки тому

      @@RADACAD what do you suggest for live data ?
      Do you have any videos based on live data?

  • @juanignacioXI
    @juanignacioXI 3 роки тому

    Hello Radacad, can i make MEASURES in Direct Query mode?

    • @RADACAD
      @RADACAD  3 роки тому +1

      Yes, you can. However, sometimes complex measures might result in big, slow, and complex queries to the source database.

  • @123jamalq
    @123jamalq 4 роки тому

    Excellent thanks

  • @NeverendingFootstepss
    @NeverendingFootstepss 4 роки тому

    Hello Reza, thank you for the video. I find that when I enable DIrectQuery in SSDT from the existing 'Import Data' mode, if the tables have relationships, then I am not able to enable DirectQuery. If I delete relationships between tables, then I am able to enable DirectQuery. Do you know why it is so? Can I have active relationships before I enable DirectQuery?

    • @RADACAD
      @RADACAD  4 роки тому

      What do you mean by "enable DirectQuery from the existing Import Data mode"? Is it Import Data or DirectQuery?

    • @NeverendingFootstepss
      @NeverendingFootstepss 4 роки тому

      @@RADACAD Currently, I have imported data in SSDT with table relationships. When I change the DirecQuery mode to 'ON' it doesnt work, with no error messages. If I delete the relationship, then it works. Why is that?

    • @RADACAD
      @RADACAD  4 роки тому

      @@NeverendingFootstepss I am not sure if composite mode is available in SSAS using SSDT editor. This is a Power BI feature

  • @jujubalismel
    @jujubalismel 4 роки тому +1

    Unfortunatelly direct query is super slow whe you have some calculations :(

    • @RADACAD
      @RADACAD  4 роки тому +1

      Yes, DirectQuery is the method you should use as the last option, only if other options doesn't work. You can also combine DirectQuery with Import data using aggregations and composite model to speed up things much faster.

    • @jujubalismel
      @jujubalismel 4 роки тому

      @@RADACAD thank you for your answer:)
      Much appreciated!
      I tried to connect SAAS via live version default mode in SAAS direct query but also was super slow, but with SAAS default mode import was good but when I changed the data in SQL did not change in SAAS :/

    • @RADACAD
      @RADACAD  4 роки тому +1

      @@jujubalismel Import is always the fastest option. If you use SSAS live connection, you should make sure the connection and server are responding fast too.

  • @saikumarchebrolu1071
    @saikumarchebrolu1071 4 роки тому

    thank you sir

  • @JoshuaDHarvey
    @JoshuaDHarvey 4 роки тому

    Did I hear you right... powerBI report server is limited to 2 GB? Seems rather strange

    • @RADACAD
      @RADACAD  3 роки тому

      the PBIX file size yes. if not using Import, then that won't be an issue.

  • @b123alaji
    @b123alaji 4 роки тому

    Can parameters used in DirectQuery?