Tutorial Gateway

  • C
  • C#
  • Java
  • Python
  • SQL
  • MySQL
  • Js
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Go Programs
    • Python Programs
    • Java Programs

Create Query Groups in Power BI

by suresh

This article shows you the steps required to Create Query Groups in Power BI with an example. In general, the tables that we load from the source arranged in alphabetical order. However, in real-time, we might have to group those tables based on the content.

For example, arrange Dimension tables in one group and fact tables as another.

How to Create Query Groups in Power BI

To create the Power BI query group on existing tables, please click the Edit Queries option under the Home tab.

Create Query Groups in Power BI 1

Clicking Edit Queries option opens a new window called Power Query Editor. Under the Power BI Queries section, you can see the list of available tables.

Create Query Groups in Power BI 2

There are a couple of ways to create a new query group

The first approach to Create Power BI Query Group

To create a new query group, right-click on the empty space under the queries section and select the New Group option from the context menu.

Create Query Groups in Power BI 3

Selecting the New Group option will open the following window. Please specify the Group Name and the description. For now, we are assigning the Dimensions as the Group name.

Create Query Groups in Power BI 4

You can see the New folder (Query Group)

Create Query Groups in Power BI 5

The first approach to add Tables to Query Groups in Power BI

Right-click on the table that you want to add opens the context menu. Please select the Move to Group option, and then select Group Name, i.e., Dimensions.

Create Query Groups in Power BI 6

Now you can see the DimCustomer table under the Dimensions group

Create Query Groups in Power BI 7

The second approach to add Tables to Query Groups in Power BI

Drag the required table, and Drop under the Query group automatically add that table to the query group. For the demonstration purpose, we are dragging the Dim Employee table to the Dimension group.

Create Query Groups in Power BI 8

Similarly, we added the remaining dimension tables to the Dimension query group.

Create Query Groups in Power BI 9

The second approach to create Power BI Query Groups

To create a new query group, right-click on any table will open the context menu. Please select the Move to Group option, and then select the New Group option.

Create Query Groups in Power BI 10

Selecting the New Group.. option will open the following window. For now, we are assigning the Group name as measures.

Create Query Groups in Power BI 11

Rearranging tables in a Power BI Query Groups

By simply moving the table up and down will change the table position.

Create Query Groups in Power BI 12

Alternatively, right-click on the table that you want to move will open the context menu. Please select the Move Down or Move Up option. For the demonstration purpose, we moved Dim Employee table to down.

Create Query Groups in Power BI 13

Now you can see the Dim Employee table in the third position.

Create Query Groups in Power BI 14

Delete Query Groups in Power BI

To delete the existing query group, right-click on the group name will open the context menu. Please select the Delete Group option.

Create Query Groups in Power BI 17

Selecting the Delete Group option opens the following message box. For now, we are clicking the Cancel button

Create Query Groups in Power BI 16

How to Ungroup existing Query Groups in Power BI

To ungroup or remove the existing group, right-click on the group name and select Ungroup option from the context menu.

Create Query Groups in Power BI 18

Now you can see that the Dimensions group removed.

Create Query Groups in Power BI 19

Nested Query Groups in Power BI

To add one group inside another group, right-click on the group name opens the context menu. Please select the Move to Group option and then select the Master Group name, i.e., Dimensions.

Create Query Groups in Power BI 20

Now you can see that the Measures Group Nested inside the Dimensions group.

Create Query Groups in Power BI 21

You can undo this by right-clicking the group name and selecting the Move to Top Level option from the context menu

Create Query Groups in Power BI 22

Whatever the changes you made (query groups) won’t affect until you hit Apply. Let me hit the Close & Apply option under the Home tab.

Create Query Groups in Power BI 23

Placed Under: Power BI

  • Install Power BI Desktop
  • Connect Power BI to SQL Server
  • Add Rename and Duplicate Pages
  • Connect to Multiple Excel Sheets
  • Get Excel Data to Power BI
  • Get Text File Data to Power BI
  • Load Data from Multiple Sources
  • Remove Power BI Table Columns
  • Create Power BI Bins
  • Power BI Joins
  • Change Column Data Types
  • Combine Multiple Tables
  • Power BI Clusters
  • How to Enter Data into Power BI
  • How to Format Dates in Power BI
  • Create Power BI Groups
  • Create Power BI Query Groups
  • Create Power BI Hierarchy
  • Power BI Pivot Table
  • Power BI Unpivot Table
  • Rename Power BI Table Names
  • Rename power bi column names
  • Split Columns in Power BI
  • Remove reorder power bi column
  • Power BI Area Chart
  • Format Power BI Area Chart
  • Power BI Bar Chart
  • Format Power BI Bar Chart
  • Power BI Clustered Bar Chart
  • Clustered Column Chart
  • Create a Power BI Card
  • Format Power BI Card
  • Create Power BI Multi-Row Card
  • Format Power BI Multi-Row Card
  • Power BI Column Chart
  • Format Power BI Column Chart
  • Power BI Donut Chart
  • Format Power BI Donut Chart
  • Power BI Funnel Chart
  • Format Power BI Funnel Chart
  • Power BI Heat Map
  • Power BI Line Chart
  • Format Power BI Line Chart
  • Line & Clustered Column Chart
  • Format Line & Clustered Column
  • Line & Stacked Column Chart
  • Format Line & Stacked Column
  • Power BI Matrix
  • Format Power BI Matrix
  • Power BI Table
  • Format Power BI Table
  • Add Data Bars to Power BI Table
  • Add alternate Table Row Colors
  • Power BI Pie Chart
  • Format Power BI Pie Chart
  • Power BI Ribbon Chart
  • Format Power BI Ribbon Chart
  • Power BI Treemap
  • Format Power BI TreeMap
  • Power BI Scatter Chart
  • Format Power BI Scatter Chart
  • Power BI Stacked Area Chart
  • Power BI Stacked Bar Chart
  • Format Stacked Bar Chart
  • Power BI Stacked Column Chart
  • Format Stacked Column Chart
  • Power BI Waterfall Chart
  • Format Power BI Waterfall Chart
  • Power BI 100% Stacked Bar Chart
  • 100% Stacked Column Chart
  • Create a Power BI Map
  • Format Power BI Map
  • Power BI Filled Map
  • Format Power BI Filled Map
  • Power BI Basic Filters
  • Power BI Slicer
  • Power BI Top 10 Filters
  • Power BI Drill through Filters
  • Power BI Filters on Measures
  • Power BI Advanced Filters
  • Power BI Report Level Filters
  • Power BI Page Level Filters
  • Power BI Calculated Columns
  • Add Conditional Column
  • Create Power BI Custom Column
  • Power BI Calculated Measures
  • Power BI Calculated Tables
  • Power BI DAX String Functions
  • Power BI DAX Math Functions
  • DAX Trigonometric Functions
  • Power BI DAX Date Functions
  • Power BI DAX Logical Functions
  • Power BI DAX Agg. Functions
  • Power BI Dashboard Introduction
  • Power BI Dashboard Settings
  • Power BI Dashboard Actions
  • Delete Power BI Dashboard
  • Subscribe Power BI Dashboard
  • Add Web Content to Dashboard
  • Add Image to Dashboard
  • Add video to power bi dashboard
  • Add Title to Power BI Dashboard
  • Pin Workbooks to Dashboard
  • Register to Power BI Service
  • Connect to Power BI Service
  • Create Power BI Workspace
  • Share Power BI Workspace
  • Create a Report in Workspace
  • Rename a Report in Workspace
  • Rename a Dataset in Workspace
  • Quick insights in Power BI
  • Get insights in Power BI
  • Publish power bi desktop report
  • Upload Power BI Workbooks
  • Upload Excel Files to Dashboard
  • Edit Power BI App
  • View Published Power BI App
  • Publish Power BI App
  • Share Power BI Dashboard
  • Share Power BI Workspace
  • Share Power BI Report
  • Power BI Q&A
  • Power BI Q&A Advanced
  • Customize Q&A Suggestions

Copyright © 2021· All Rights Reserved.
About | Contact | Privacy Policy