Step-by-step Power BI Scenarios
What this covers
These small lessons follow the checks performed in real Power BI Desktop: connect, load a numeric result, use DirectQuery and Import, refresh, export and reopen a saved report. Each lesson explains what to do, what to expect and how to recognise a problem. For charts and slicers, continue with Build a Power BI Report.
The examples use the demo workspace acme-demo, project project1, PostgreSQL-backed modely and BigQuery-backed Model L (modell). Both models are reached through Tessallite's PostgreSQL database connector. The source behind the model does not change the client connector.
Before you start
- Power BI Desktop for Windows and your existing Tessallite sign-in.
- The gateway server and port, workspace slug and permitted model names from your administrator. The checked local setup used
cleo:5433andacme-demo; replace them with your installation's values. - A published model you are allowed to query. See Power BI Connection Guide.
The checked client was Power BI Desktop 2.158.1304.0 (September 2026). These results describe that client and the local deployment, rather than every Desktop version, cloud publication or scheduled refresh configuration.
The lessons
| Part | Lessons |
|---|---|
| Connection and a small query | 1 and 2 |
| DirectQuery and Import | 3 and 4 |
| Refresh, export and saved reports | 5 to 7 |
| A BigQuery-backed model | 8 |
1. Connect through the PostgreSQL database connector
What you will learn. How to reach a Tessallite model from Power BI Desktop.
Why it is useful. Power BI asks Tessallite for governed results using your account.
The idea. The connector speaks to Tessallite's gateway. It does not connect Power BI directly to the model's source database.
Steps
- Open an empty report. Choose Home > Get data > PostgreSQL database.
- Enter the gateway Server, including its port, and the workspace slug in Database.
- Select DirectQuery for lesson 3, or Import for lesson 4. Use separate reports to check both modes.
- Leave Include relationship columns unchecked for these small one-table exercises.
- Click OK. If asked, choose Database authentication and enter your existing Tessallite credentials.
- In Navigator, find the permitted model and choose Load. If you supplied the SQL statement in lesson 2, check its result in the preview and choose Load there instead.
What you should see. The connection succeeds and the Data pane contains a loaded table. A successful connection or preview alone does not prove that Load completed.
If it does not look right. Use the PostgreSQL connector for these lessons; the Analysis Services connector is a different connection with its own sign-in (see the Power BI Connection Guide) and does not solve a PostgreSQL connection problem. If a model is absent, check the workspace, publication and your access with the administrator. Repeated credential guessing can lock the account.
Good to know. In a model list, a relation can include its project name, such as project1.modely. The bounded SQL examples below use the model slug in the checked workspace.
2. Load one transaction-count result
What you will learn. How to start with a result small enough to inspect completely.
Why it is useful. One numeric row makes it easy to compare a visual, an export and the model's answer.
Steps
- Start the connection from lesson 1.
- Expand Advanced options. In SQL statement, enter:
SELECT SUM(transaction_count) AS tc FROM modely
- Keep the normal command timeout setting. Click OK.
- Check that the preview has the column
tcand one numeric row, then click Load.
What you should see. The checked demo returned 100,000, in both DirectQuery and Import. Your result depends on the current data, model, persona and row permissions. Compare against the same permitted model query; do not treat this sample count as a permanent expected value.
If it does not look right. Copy the actual model and measure names. An unknown field is an error, rather than a request to substitute another field. If the preview works but Load fails, record both outcomes for your administrator.
3. Show the DirectQuery value in a table
What you will learn. How to prove that the loaded result can drive a native visual.
The idea. DirectQuery asks the gateway when Power BI needs a result. Power BI and Tessallite can cache answers, so refresh and the answer's freshness still matter.
Steps
- In the DirectQuery report, select the Table visual.
- Expand the loaded table, usually
Query1for an SQL statement, and addtcto the visual. - Check the displayed value and the Storage Mode: DirectQuery indication at the bottom of the report.
What you should see. A numeric value, often labelled Sum of tc. In lesson 2 the checked value was 100,000. The BigQuery exercise in lesson 8 returned 145,406. A numeric column may display decimal places without becoming text.
If it does not look right. Select the table visual and check which field it contains. A blank placeholder is not a result. If Power BI reports an error, retain its message instead of replacing the value with zero.
4. Inspect the Import result and its type
What you will learn. How to distinguish a loaded Import table from a preview.
Why it is useful. Import stores a snapshot in the report; its column must remain usable as a number.
Steps
- Repeat lessons 1 and 2 in another report, choosing Import.
- After Load finishes, open Data view using the table icon on the left.
- Select
Query1, then thetccolumn. Check the row count and Data type. - Add
tcto a Table visual if you want to use the export exercise in lesson 6.
What you should see. One row and a numeric column. The checked BigQuery-backed Import result showed Decimal number, one row, one distinct value and 145,406. The PostgreSQL-backed Import visual showed 100,000 and exported that same numeric value.

If it does not look right. A text column or an unfinished load is a different outcome from a numeric loaded table. Check the SQL, loaded column and transformation steps before changing the report's formatting.
5. Refresh the loaded report
What you will learn. How to request a current result in either mode.
Steps
- Note the current value and its model and filters.
- Choose Home > Refresh and wait for completion.
- Read the native table or Data view again. Check that it still contains the complete result and a numeric column.
What you should see. The checked PostgreSQL reports stayed at 100,000, and the BigQuery reports stayed at 145,406 while their source data remained unchanged. If source data changes, a different refreshed value can be correct.
Good to know. Import visuals read the local snapshot until it is refreshed. Refreshing the extract asks Tessallite again and can benefit from its eligible acceleration. DirectQuery also uses the governed path when it sends a query. Neither mode promises that every operation reads the physical source or bypasses caches.
6. Export the complete table
What you will learn. How to check the actual exported cells.
Why it is useful. A filename or the first visible row does not prove that a download has the right content.
Steps
- Select the one-column Table visual.
- Open its ... menu and choose Export data.
- Save the CSV file to your own folder.
- Open the CSV and check its heading, every data row and the numeric value against the visual.
What you should see. One data row. The checked PostgreSQL DirectQuery and Import CSVs both contained 100000. The BigQuery DirectQuery and Import CSVs both contained 145406 under Sum of tc. The Import export was checked on 11 October 2026 from the saved snapshot after reopening the report.
Good to know. An export is a saved copy. Later refreshes of the report do not change that CSV. The checked visual displayed 145,406.00 while the CSV stored 145406; these are the same numeric value. Compare the number and complete table, rather than requiring identical display formatting.
7. Save and reopen in a fresh Power BI session
What you will learn. How to check that a saved report still works.
Steps
- After a successful refresh, choose File > Save as and save a
.pbixfile. - Close that report's Power BI window normally.
- Open the saved file in a fresh Power BI session.
- Check the table or Data view, the column type and the connection mode.
- For DirectQuery, choose Home > Refresh and read the value again. For Import, remember that the reopened value is a saved snapshot until you refresh it.
What you should see. The report opens without repair. The checked PostgreSQL reports retained their native one-row result. BigQuery Import reopened with its one-row Decimal number 145,406 after its earlier refresh; BigQuery DirectQuery reopened with its table and DirectQuery mode, then refreshed correctly again.
If it does not look right. An existing user's other Power BI window is not the fresh test session. Close only your own report. If authentication is requested, use your own current account; saved results do not establish current query access.
8. Repeat with a BigQuery-backed model
What you will learn. How the same Power BI connection reaches a different supported source through Tessallite.
Steps
- Use the same PostgreSQL database connector and Tessallite gateway.
- In Advanced options > SQL statement, enter:
SELECT SUM(transaction_count) AS tc
FROM modell
WHERE country_code = 'US'
- Check preview and actual Load separately. Repeat in distinct DirectQuery and Import reports.
- Follow the mode, type, refresh and save/reopen checks above. In both modes, check the Table visual and its complete CSV export.
What you should see. On 10 October 2026, both loaded modes returned 145,406, matching an independent read-only calculation from the unchanged BigQuery source. Model L has a different population from modely; 145,406 and 100,000 are not answers to the same dataset query.
Good to know. Power BI uses the Tessallite account already used for the gateway. These lessons do not require putting BigQuery source credentials in the report. The bounded count does not certify every BigQuery field, query shape, persona or accelerated route.
If a connection or catalogue is slow
Check where the wait occurs: sign-in, Navigator or field discovery, preview, actual Load, visual query or Refresh. Discovery prepares governed metadata; a slow catalogue does not by itself mean the source data query is slow. Send your administrator the stage, model, client version, time and exact error. Raising a timeout without understanding the failed stage can hide the cause.
Checks completed and limits
| Actual local native check | PostgreSQL-backed modely | BigQuery-backed Model L |
|---|---|---|
| DirectQuery: load, native table, Refresh and exact source comparison | Passed | Passed |
| DirectQuery: complete CSV, save and fresh reopen | Passed | Passed |
| Import: actual load, native numeric value and Refresh | Passed | Passed |
| Import: save and fresh reopen | Passed | Passed, Decimal number checked |
| Import: complete native CSV | Passed | Passed from the saved snapshot on 11 October 2026 |
The original refused catalogue attempts and setup mistakes were retained during diagnosis. Later successful checks qualify only the workflows in this table. Cloud publication, scheduled refresh, other BI applications and other Desktop versions were not tested here.