Skip to content
VirtualLP Virtual Learning Platform

Connectors, Credentials and Import vs DirectQuery vs Direct Lake

8 min read Topic 4 of 38

Understand it in simple language

Excel, CSV, folders, SQL databases, SharePoint and web sources have different authentication and refresh requirements. Import stores a compressed copy. DirectQuery asks the source when visuals run, subject to caching and other behavior. Composite models combine storage approaches. Direct Lake uses Fabric data in OneLake and has capacity and model requirements; it is not a CSV connection option.

Choose by freshness, size, source performance, security and cost. Live connections reuse an existing semantic model. Read permissions and Build permission are different; request only what your task needs.

Do it step by step

Load Sales.csv with Import. In a separate practice file, connect to an approved SQL training database and inspect the offered storage modes. Document why a daily retail extract can use Import. For web sources, store credentials using the credential dialog; never put secrets in M code. Use Data source settings to inspect and change permissions.

Check your result

Which mode would you evaluate for near-real-time SQL data, and what source load tests would you run?

If something goes wrong

A browser lab cannot test source connectivity. Record the actual connector, authentication method and refresh result in Desktop.

Practice data and learning method

Industry practice collection: downloadable retail, finance, HR and operations datasets, dictionaries, full walkthroughs and answer sheets. The cases contain multiple years, multiple related tables, deliberate data defects and known-answer checks. Progress from the small foundation files below to these cases; do not reuse the foundation totals for the larger datasets.

Download Sales.csv, Products.csv, and the dataset guide. These files contain synthetic training data, not real customers. Use the Power BI virtual labs for guided browser practice. Each lab states its supported operations. Then repeat the procedure above in the actual Microsoft tools and save evidence of your result. Try another filter or an intentionally incorrect setting and explain what changed before moving on.

Guided practicals for this topic

Use the real-tool procedure above and the related case walkthroughs in the industry practice collection. This topic is not represented as a full browser simulation.

Continue learning from Microsoft

Power BI documentation · DAX reference · Power Query M reference · Power BI analyst skills map. Features, licensing, menus and availability can change; check the relevant official page for your environment.

Create a free account to track your progress and unlock virtual labs.