Power BI Get Data: Import vs. DirectQuery vs. Live (2021)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ค. 2024
  • Import vs. DirectQuery vs. Live connection. Which do you choose and why in Power BI? Adam looks at the three options when creating reports in Power BI Desktop including composite models.
    Power BI Data Sources:
    docs.microsoft.com/power-bi/c...
    Star Schema:
    docs.microsoft.com/power-bi/g...
    DirectQuery model guidance:
    docs.microsoft.com/power-bi/g...
    Composite Model guidance:
    docs.microsoft.com/power-bi/g...
    DirectQuery for Power BI Datasets video:
    • Blend Power BI dataset...
    📢 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 #GetData #GuyInACube
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 122

  • @late_arvie
    @late_arvie 3 ปีที่แล้ว +6

    It's good that you are still doing these beginner videos!

  • @DPFierce
    @DPFierce 3 ปีที่แล้ว +7

    Although you have similar video, it’s good to revisit some topics as updates are made. This is very timely for me as I am having to reconfigure a report due to the 1GB threshold w/o Premium capacity. Thanks for the updated info!! BTW...one of tables I’m working with has 33Million rows and Power BI loads it without an issue!

  • @knuckleheadmcspazatron4939
    @knuckleheadmcspazatron4939 3 ปีที่แล้ว +1

    Very useful! Thanks for taking the time to cover this. And our database is perfect ;-)

  • @Josh-iw3md
    @Josh-iw3md 3 ปีที่แล้ว +35

    Just want to say this is an amazing channel and has really helped me with my new role at work. Thank you so much.

    • @GuyInACube
      @GuyInACube  3 ปีที่แล้ว +2

      We love hearing that Josh! 👊

  • @challanagendra4642
    @challanagendra4642 2 ปีที่แล้ว

    Great video I have seen this morning. Really worthy to watch this

  • @test-jr8bx
    @test-jr8bx 2 ปีที่แล้ว

    With DirectQuery we have a nice separation between the data and data model, which is handy to be able to upload/publish changes to the model only. Is the same possible with imported data (splitting data & the data model into 2 separate files)?

  • @carolinnerabbi965
    @carolinnerabbi965 2 ปีที่แล้ว

    Much clearer now, thanks!

  • @thomasnicholas9314
    @thomasnicholas9314 22 วันที่ผ่านมา

    Thank you for explaining the difference between Import and Direct Query. Now I know what I need to do.

  • @omarcastillo122
    @omarcastillo122 3 ปีที่แล้ว

    Hi guys, first of all you are great! you explain everythong very clear. I have a question: do Power BI data flows are restricted to import, and are we able to do an incremental refresh with data flows? thx!

  • @vanishedxu
    @vanishedxu 2 ปีที่แล้ว

    Thanks for the video! So what would be the best connection mode for near real-time reports? I got different messages from the docs. Sometimes it says DirectQuery can do a few seconds, and sometimes it says every 15 minutes.

  • @NOZOEMI
    @NOZOEMI 2 ปีที่แล้ว

    Hi Adam! If I’m pulling noSQL source into power BI, do you mean I’d I create a star schema within power BI, breaking one giant table into several tables to for star schema, the performance will be better than pulling that one table directly? If I have several messy tables from noSQL database, would you rather create a unit giant table with only needed columns, or just every tables and join them in Power BI data model? Or have to consolidate them into one and then break into a star schema? Thank you so much!

  • @bandishgupta2046
    @bandishgupta2046 2 ปีที่แล้ว

    Hi Adam, what should be the approach to convert source model to star schema in Direct query mode. Sources are different ERP and CRM systems.

  • @Bharath_PBI
    @Bharath_PBI 3 ปีที่แล้ว

    When you say layering, is it agg layer or model layer (with 3 layers supported currently) ?

  • @jwh001
    @jwh001 3 ปีที่แล้ว

    Great clear introduction! Thanks!

  • @johnheck1551
    @johnheck1551 3 ปีที่แล้ว +4

    Another great video. I have a question, you mentioned about a date issue with Direct Query in SQL. Can you explain it further? If you want to use Dates, Months, Quarters, Week Ending, etc. would you suggest using Import over Direct Query? Do you have any videos that show working with Dates?

  • @bero5541
    @bero5541 2 ปีที่แล้ว

    Thank you for the high quality videos

  • @TumiSelepe
    @TumiSelepe 3 ปีที่แล้ว

    great video Adam, very informative

  • @thomasivarsson2468
    @thomasivarsson2468 3 ปีที่แล้ว +4

    Four types then. Import, direct query, live connection and hybrid? Good video!

  • @garymcbride340
    @garymcbride340 2 ปีที่แล้ว

    Great Video Adam, I’m trying to use the composure method with a live connection with analytical services to a n OLAP cube but it won’t let me add an additional external file by direst query or any other means. I assume OLAP Cube are just not accomodating in this way are they? Is there a way? Thanks

  • @regulardev
    @regulardev 2 ปีที่แล้ว

    What is the advantage of Live Connection over Direct Query? Both are pulling data from remote. More importantly, do we need scheduled refresh on live connection ?

  • @ponnadavenkataraviprakashr3033
    @ponnadavenkataraviprakashr3033 ปีที่แล้ว

    What is your view on creating a view on the database before importing it instead of the table? Will that increase the speed or refresh for the flow of data?

  • @dsilva001
    @dsilva001 3 ปีที่แล้ว

    Thank you so much for this video! 🇧🇷🇧🇷🇧🇷

  • @alvarorodriguezlasso
    @alvarorodriguezlasso ปีที่แล้ว +1

    Thanks, Regards from Cali-Colombia

  • @geoidconsulting1834
    @geoidconsulting1834 2 ปีที่แล้ว

    This was very nice. Thank you! 🙂

  • @rushikamangalarapu471
    @rushikamangalarapu471 3 ปีที่แล้ว +1

    Is it possible to do cross report drill-through between two Reports located in two different workspaces? Is there any way to do it?

  • @shaggz20022002
    @shaggz20022002 3 ปีที่แล้ว

    Great videos. Do you offer a .bak or script to create your Star Wars demo db?

  • @mohitchhabra41
    @mohitchhabra41 2 ปีที่แล้ว

    Hi there, Is it possible to change back to live connection from Direct Query (composite model) storage Mode ? Thank you.

  • @gregdvorkin
    @gregdvorkin 3 ปีที่แล้ว

    Can I ask questions?
    I want to better understand how import works. I use Power BI Desktop and data imported from Excel. Let's say I need to send saved Power BI File to another user who also has Power BI desktop. Is it good enough just to send Power BI File or I also need to send Excel files as well?

  • @frikharamy1649
    @frikharamy1649 3 ปีที่แล้ว

    My man Adam is back ! keep it up :D :D

  • @alishehzadpaul
    @alishehzadpaul 2 ปีที่แล้ว +1

    Can we connect two different data sources using Direct Query? For example, I want to connect a table from a Teradata server, and another table from an Oracle database (assuming both tables have a common key)

  • @lunedfrancis2768
    @lunedfrancis2768 2 ปีที่แล้ว

    If I were to delete some columns when transforming data in the power query editor. Column that include sensitive data, would these be published the the service when it came time to publishing? Or would it just be the comlums that are loaded

  • @priyankasaxena802
    @priyankasaxena802 2 ปีที่แล้ว

    For timeseries , is there any recommendation or quick start up as it is big data

  • @sarar941
    @sarar941 2 ปีที่แล้ว

    So useful, thank you!

  • @harshindublin
    @harshindublin 2 ปีที่แล้ว

    Can you please show a demo about schedule refresh for the follow types

  • @IQBooksPUBIQBooksPUB
    @IQBooksPUBIQBooksPUB 10 หลายเดือนก่อน

    Is imported data indexed? say you had an index on several columns, would your model be equally efficient, and leverage indexes that were in your source?

  • @daltonhale4436
    @daltonhale4436 3 ปีที่แล้ว

    If I wanted a report to be refreshed with live data upon end user clicking refresh from Power BI server - must the source be Directquery?

  • @tomaskavicky
    @tomaskavicky 2 ปีที่แล้ว

    not a beginner anymore, but really worth to see this ;)

  • @harshindublin
    @harshindublin 2 ปีที่แล้ว

    I have connected DB viaimport mode . My query was regarding schedule refresh. Would this db pull realtime data or do I need set refresh timeslots for maintaining data updates

  • @npaler01
    @npaler01 3 ปีที่แล้ว +3

    Great video, as always. I have a question on the 1GB limit. Is that AFTER the transformation steps are done? Is it basically the .pbix file size, or the size of the dataset in the workspace? Thanks!

  • @powerbi-amitsrivstava4451
    @powerbi-amitsrivstava4451 3 ปีที่แล้ว

    Is there any way to display Power BI Dataset name in the Power BI Report?
    Thanks
    Amit

  • @pratibhamishra869
    @pratibhamishra869 ปีที่แล้ว

    Thank you for existing

  • @vitto_af
    @vitto_af 2 ปีที่แล้ว

    Hi, I have a live connection to SSAS and a measure that return text , but it seems disenable when I try to use it as field value in order to do Dynamic the text button.

  • @rapatel1642
    @rapatel1642 ปีที่แล้ว

    Great video as always.

  • @damn68
    @damn68 3 ปีที่แล้ว

    Can you have multiple data sources when using live connect

  • @aurelbk8214
    @aurelbk8214 ปีที่แล้ว

    I have a SSAS tabular model. What is de best pratice to get data on power bi? Import or Live connexion?

  • @felipebarrera3060
    @felipebarrera3060 ปีที่แล้ว

    Can you explain also the difference regarding data flows? Please.

  • @Marcel-f1
    @Marcel-f1 2 ปีที่แล้ว +1

    To who don't know, the PBIX file is a ZIP file with extension renamed to PBIX.

  • @KayakKiwi_Peter
    @KayakKiwi_Peter 5 หลายเดือนก่อน

    A very good video, thank you

  • @eagillum
    @eagillum ปีที่แล้ว +2

    3:12- Direct queries
    5:15- Live Connection

  • @SK-ck3qb
    @SK-ck3qb 2 ปีที่แล้ว

    How do I create parameters with a Live connection to Azure Analysis Services?

  • @hadyshaaban1221
    @hadyshaaban1221 3 ปีที่แล้ว

    Hi dear,
    How can i mix between live data source and imported tables. my dashboard contains imported tables and i need to access a powerbi dataset live. How can i do that please

  • @aruncser
    @aruncser 3 ปีที่แล้ว

    Is there any slack channel to ask questions and have discussions / brainstorming chats with other developers ?

  • @jonathanFN04
    @jonathanFN04 3 ปีที่แล้ว

    Hi. One probably dumb question. Why when you load the DQ file suddenly the table options appeared? is it not only available for Import mode not DQ?

  • @SanchezOKelly
    @SanchezOKelly 3 ปีที่แล้ว

    What is performance like at 1.5 billion rows however? I know in other similar software, like tableau. You really hit a wall if you're trying to use large data sets and they crawl.

  • @aruncser
    @aruncser 3 ปีที่แล้ว

    Are you planning to make videos on administering premium power bi platform ?

  • @NirdeshM
    @NirdeshM 2 ปีที่แล้ว

    how do you pass value? I mean table A key to Table B as query param

  • @sanketkhunte537
    @sanketkhunte537 2 ปีที่แล้ว

    Informative

  • @RKTECH1021
    @RKTECH1021 2 ปีที่แล้ว

    I am using latest Power BI Desktop connecting to Power BI datasets or Live connection to SSAS 2016 on prem model. I just don't see any option to import other dataset for ex: excel or SQL Server. everything gets grayed out after connecting one Power BI datasets. we are on Power BI premium capacity and Desktop Pro license. I also enabled DirectQuery for Power BI datasets and Analysis Services checkbox from preview features. any clue what am I missing it?

  • @ishti8211
    @ishti8211 3 หลายเดือนก่อน

    What's the reason for using background music? Other than that, the content is good and useful.

  • @anshulroxx6791
    @anshulroxx6791 2 ปีที่แล้ว

    1.5Billion rows in import? Woah!! What is the Gen2 capacity they have for such scenario and how much time does it take for initial load in import?

  • @gopalb7954
    @gopalb7954 2 ปีที่แล้ว

    Hi guys you make understand easy.. With every topic I watch to refer and can you guys show me how to connect to service now tool to get data.. From long time i been waiting for it.

  • @ShubhAyush
    @ShubhAyush ปีที่แล้ว

    How do we connect to Wrokday, if we need to pull data from workday and create a report/ dashboard in Power Bi. Please help

  • @claudiaouellet8499
    @claudiaouellet8499 11 หลายเดือนก่อน

    I don't know why I bother trying to find information on PowerBI from other channels. I always end up back on yours for the real stuff. High-quality content as usual. Thank you!

  • @bilalhasan3828
    @bilalhasan3828 2 ปีที่แล้ว

    How we can access Jira Historical Data in PowerBi , any help will be appreciated

  • @AMGunawardana
    @AMGunawardana 2 ปีที่แล้ว

    Hi I have a small issue with direct query. In a report if we built a direct query model and if we want to see the real time change on the chart how can we do that? What we are doing currently is hitting refresh tiles button or refresh the browser please help!!!!

  • @thealchemist6133
    @thealchemist6133 3 ปีที่แล้ว

    how do you connect with Data Vault?

  • @devinsolkov8645
    @devinsolkov8645 2 ปีที่แล้ว

    Cool Shirt! Thanks for the video!

  • @visheshjjain
    @visheshjjain 3 ปีที่แล้ว

    What is dataset limit for Premium per user?

  • @MinhTamNguyen-jd3uz
    @MinhTamNguyen-jd3uz ปีที่แล้ว

    One thing for the Live connection is that there is no hidden table function when connecting to the Gold Dataset. A bit of disadvantage.

  • @DanielWeikert
    @DanielWeikert 3 ปีที่แล้ว

    Hi, what would be the best way to change the underlying data souce in a report from excel files to tables from a database when the column names are not the same? Any best practices here? Thanks

  • @mohankiran3230
    @mohankiran3230 2 ปีที่แล้ว

    how do i change to import mode if i have already done direct quiry

  • @ottisc
    @ottisc ปีที่แล้ว

    I have taken a new role as systems administrator with a new company. A previous administrator used power bi to create the company website and it has stopped updating as we would expect. I am having difficulties tracking down the reason for the failure of updating the dataset . I am beginning to think we may have possibly reached the max storage rows for our service but am not familiar enough with power bi services to confirm the true issue. I have watched a few of your videos that have been very helpful which I appreciate very much. I wanted to reach out to see if you might provide consulting services and if so what your hourly rate might be to help assist me with familiarizing myself with the environment. Looking forward to your reply. Thank you.

  • @tr7948
    @tr7948 3 ปีที่แล้ว

    Love ❤️ from india..

  • @lancewilliams3279
    @lancewilliams3279 3 ปีที่แล้ว

    Nice Roci Shirt!

  • @bhargavmehta9894
    @bhargavmehta9894 3 หลายเดือนก่อน

    i am trying to do this but both file can not installing in my machine

  • @francismumbi49
    @francismumbi49 3 ปีที่แล้ว

    The T_Shirt is lit...

  • @vmckameyjr
    @vmckameyjr 2 หลายเดือนก่อน

    Great vid ...thank you! ps- that background music was very distracting

  • @vkkpp
    @vkkpp 3 ปีที่แล้ว +1

    Hi,
    When I have a SSAS cube which when I connect from Power BI it do not allow me to import any other excel source which you are stating to be converting live connection to direct query mode (last part of the video).
    Could you please help me how can we do this ?

    • @prashanthlv
      @prashanthlv 3 ปีที่แล้ว +1

      I have the same question. I am connecting to SQL Server Analysis services from Power BI desktop. Once connected, i cannot do "Get Data" from other sources. Any answer?

  • @dugrecco10
    @dugrecco10 3 ปีที่แล้ว +2

    How about security implications when importing the data? Once imported the data is now available to anyone with access to the report/dashboard. Table and/or row level security is no longer applicable or the responsibility of end user/developer which most are not familiar with. Am I missing something? Thanks!

    • @GuyInACube
      @GuyInACube  3 ปีที่แล้ว +1

      Wasn’t really the topic of this video. And that’s a bit more advanced than what I was going for. You are right that those things should be considered and Row Level Security is an option to help with that.

    • @dugrecco10
      @dugrecco10 3 ปีที่แล้ว +1

      @@GuyInACube Understood. Maybe a video to discuss the data security aspects when working with Power BI would be great. Just a suggestion if you guys haven't done that already. Thanks for the reply and keep up the great content!

    • @simonmasters3295
      @simonmasters3295 2 ปีที่แล้ว

      Why do you guys assume simplicity when we all know it's security and multi-table aggregation where we spend most time

  • @rebekahhenken5805
    @rebekahhenken5805 ปีที่แล้ว

    Love the shirt! :D

  • @connorbarrett8583
    @connorbarrett8583 3 ปีที่แล้ว

    You mentioned a customer got 1.5 billion rows imported in Power BI, do you know what the data source was / how they bypassed the hardware memory limitations with PBI Desktop? Would love to understand more about how to push the limits of import mode. Thanks!

    • @connorbarrett8583
      @connorbarrett8583 3 ปีที่แล้ว

      also, we are using premium and do have a star schema

    • @GuyInACube
      @GuyInACube  3 ปีที่แล้ว +2

      Data source doesn’t really matter. It was Premium using incremental refresh. At that size, you won’t be able to load it in Power BI Desktop more than likely with the whole set.

    • @micahdail
      @micahdail 3 ปีที่แล้ว +1

      You will need to use incremental refresh to limit the data in Power BI desktop, but then when published to the service the whole dataset is loaded.

  • @richardcroft3676
    @richardcroft3676 3 ปีที่แล้ว

    I haven’t tried it yet as I’m just too busy but is it possible to create a composite model with multiple AAS models?

    • @richardcroft3676
      @richardcroft3676 3 ปีที่แล้ว

      The initial test is in. As expected although you can pull two AAS models into the same PBI model, it’s not really working.
      Obvs some new joins are needed between the tables, which is a bit of a problem...
      Might work if I avoid using fields from both connections in the same visuals...
      Further analysis required.

  • @masonwhitehouse7587
    @masonwhitehouse7587 3 ปีที่แล้ว +1

    Man 1.5B rows. Would love to know those guys.

  • @tob-robt
    @tob-robt 3 หลายเดือนก่อน

    Hello, thank you very much for your videos, they are very interesting. I've been trying to search your channel for something that helps me calculate what I'm trying to calculate for days.
    In my case I have something like this, in the same column:
    Row A1 = (POWER(1+Forward_Rate,-1))
    Row A2 = A1 * (POWER(1+Forward_Rate,-1))
    Row A3 = A2 * (POWER(1+Forward_Rate,-1))
    Row A4 = A3 * (POWER(1+Forward_Rate,-1))
    …and so on in the same column that has 930 records.
    I've been trying to replicate this in Power BI for days, creating several variables, making conditionals with them, etc., but I'm not able to reach the same result that I calculated by doing this in Excel.
    Do you have a video that can explain more or less what I'm trying to do? Or could you make one that shows how to do it?
    Thank you so much

  • @MrRhysybaby123
    @MrRhysybaby123 3 ปีที่แล้ว +1

    Great video, better T shirt

    • @GuyInACube
      @GuyInACube  3 ปีที่แล้ว

      I appreciate that Rhys! 👊

  • @praveenmullamuri2835
    @praveenmullamuri2835 2 ปีที่แล้ว

    Data set size 800gb , it will work in direct query and premium license

  • @picssuxxx
    @picssuxxx 2 ปีที่แล้ว

    Guys! You'r f*ck awesome !! Thanx to teach us with this all patience ^^ ... Luv =*

  • @B4H4MuTT
    @B4H4MuTT 3 ปีที่แล้ว

    1.5 billion rows? How did you do that?

  • @maramsubbu1596
    @maramsubbu1596 3 ปีที่แล้ว

    Parameter explain sir

  • @codfalcondelex5781
    @codfalcondelex5781 ปีที่แล้ว

    HOW TO GET DATA TO POWER BI FROM WEB HAVING USER CREDENTIALS

  • @aliciarobinson2531
    @aliciarobinson2531 2 ปีที่แล้ว

    In another video Patrick talks about using views instead of tables for data modeling best practices. When using import is this still a good idea? I have a lot of queries importing and refreshing daily and am trying to find the most efficient way to model them.

    • @hahaying9280
      @hahaying9280 2 ปีที่แล้ว

      I think should be use the live connect

  • @kochooloo
    @kochooloo 2 ปีที่แล้ว

    I have about 1 Billion rows, and every time it loads it crashes and restarts my computer. Why is this happening? (PBI Desktop)

  • @MarijanSivric
    @MarijanSivric 5 หลายเดือนก่อน

    Did anyone notice the Rocinante T-shirt?

  • @allmhuran
    @allmhuran 6 หลายเดือนก่อน

    Coming in 2 years late, and *of course* in that time microsoft has made things more confusing. The "power BI data sources" table shown in this video no longer exists at the given link, and the information is far more obfuscated.

  • @jeanpierre4370
    @jeanpierre4370 ปีที่แล้ว

    Personally speaking -
    Import is good for temporary reports. Or to view past data only.
    Direct Query is good for a live report. Up to date sales, etc.

    • @jeanpierre4370
      @jeanpierre4370 ปีที่แล้ว

      I don't agree with you, you can create 1 SQL statement that pools sales/Quantity information from the past 3 years and that can give you 5 different graphs based on Top performance items, gross income, worse performance, etc.
      Where if you import it, you might have to import 10 different tables and based on the amount of data will take longer and your performance will be slower.

    • @rhys87
      @rhys87 ปีที่แล้ว

      Incremental refresh on import.

  • @manideep8566
    @manideep8566 3 ปีที่แล้ว +1

    Hey, In IMPORT mode once we have a copy of data(CACHED DATA) do we have any connection between Power BI and data source(ORIGINAL DATA)? Because in the video you were showing the link that exists between Power BI and data source.

    • @donovan6094
      @donovan6094 3 ปีที่แล้ว +1

      when u choose import mode, u should add "scheduled refresh" for pro user max 8 per days. and dont forget to add gateway connection first.

  • @user-xz8te5dq2d
    @user-xz8te5dq2d 2 หลายเดือนก่อน

    😍

  • @mohammedabdulraheemkhizer5037
    @mohammedabdulraheemkhizer5037 3 ปีที่แล้ว +1

    Rocinate! ;) #Expanse

  • @dominikreim7723
    @dominikreim7723 3 ปีที่แล้ว +1

    actually direct query has the highest performance

  • @shaikmeharaj9463
    @shaikmeharaj9463 3 ปีที่แล้ว +2

    First view