Master Data Analysis Without T-SQL: A Guide to Microsoft Fabric Visual Queries

Unlock the power of Microsoft Fabric Visual Queries — your no-code solution to complex data analysis. This guide explores how to effortlessly create, analyze, and share data insights without needing to learn T-SQL, making data analytics accessible to all professionals.

Rui Carvalho
The Data Therapy
5 min readFeb 29, 2024

--

The ability to quickly and efficiently analyze data is essential for businesses to stay competitive in the field of data analytics. However not everyone is an expert in SQL, and for many, creating complicated queries can be a difficult undertaking.

Microsoft Fabric Visual Queries is a tool for anyone stuck at a T-SQL crossroads. Without writing a single line of code, users can create and analyze data using this feature of Microsoft Fabric.

Simplifying Data Analysis with Visual Queries

Microsoft Fabric is an enterprise-focused all-in-one analytics solution that handles data movement, data science, real-time analytics, and business intelligence. It provides an all-inclusive range of services, such as data integration, data engineering, and data lakes, in one location. This makes it unnecessary to piece together various services from various vendors, providing a highly integrated, comprehensive, and user-friendly solution that streamlines analytics requirements.

The ability to do visual queries is one of Microsoft Fabric’s amazing features. This eliminates the need for users to write SQL code by enabling them to create queries via a graphical interface. Users can write queries against the data in their warehouse quickly and effectively by dragging and dropping tables, applying transformations, joining data, grouping by columns, and saving query results as views or tables in the Microsoft Fabric visual query editor.

How Visual Queries Work

Using the visual editor in Microsoft Fabric to create a query is simple and intuitive.

Inside your Fabric Warehouse, you have the option to open a new SQL Query Window and a Visual Query Window, that´s the one!

Microsoft Fabric Warehouse — New visual query

By dragging and dropping tables from the object explorer, you can begin crafting your queries using the visual query editor that is accessible through the Microsoft Fabric portal.

Microsoft Fabric Warehouse — Drag and drop tables
Microsoft Fabric Warehouse — Visual Query

Now you can apply different data transformations, including data sorting, filtering, aggregation, and merging.

Microsoft Fabric Warehouse — Visual Query option

Columns and rows transformations:

Microsoft Fabric Warehouse — Visual Query Manage columns
Microsoft Fabric Warehouse — Reduce rows

Order and group data:

Microsoft Fabric Warehouse — Visual Query Sort
Microsoft Fabric Warehouse — Visual Query Transform

Merge data:

Microsoft Fabric Warehouse — Visual Query Combine

The step by step to apply these steps is very similar to Power Query and Data Flows.

Microsoft Fabric Warehouse — Visual Query Canva
Microsoft Fabric Warehouse — Merge Queries
Microsoft Fabric Warehouse — Merge Queries
Microsoft Fabric Warehouse — Merge Queries
Microsoft Fabric Warehouse — Expand columns

Additionally, users can explore their data more interactively thanks to the data preview and visualization results features.

Microsoft Fabric Warehouse — Visual Query — Analyse options

Visual Results

Here you can open your query in a PowerBI report and mount visuals on your data. Also, you can save that report and share it with your colleagues.

Microsoft Fabric Warehouse —Visual Results

Download Excel File

You have the option to download an excel file that will have a connection directly to your server and query. This way you can share the data with every user that has access to the source.

Microsoft Fabric Warehouse —Download excel file

Save as Table

Finally, you can save the result of your visual query as a table on your Warehouse, that way you create a snapshot of the data.

Microsoft Fabric Warehouse — Save as table

View SQL Query

Another interesting option is that you can look at the SQL code that is being generated behind the curtains while you are building your no-code query.

You will notice that the SQL code is different from what you are used to but this is the way that engine has to build the query.

Microsoft Fabric Warehouse — View SQL code

Now, you can take full advantage of the potential that comes with using data as it eliminates the need for SQL queries to create and analyze data.

What’s more? For just $5 a month, become a Medium Member and enjoy the liberty of limitless access to every masterpiece on Medium. By subscribing via my page, you not only contribute to my work but also play a crucial role in enhancing the quality of my work. Your support means the world! 😊

--

--

Rui Carvalho
The Data Therapy

Data Enthusiast | Time Management and Productivity | Book Lover | One of my passions is to teach what´ve learned | Storys every week.