Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
aogata
Frequent Visitor

re grouping data according to multiple variables

I have a dataset of room information each with multiple description fields.

For example: Building#1 | great condition |   Bathroom |  250 sqft

 

I would like to be able to create a new set of variables.  for example: total area of bathrooms in Building #2 in great condition, so I can compare that number with total area of Bathrooms in Buildnig#7 in poor condition.

 

Thoughts?

1 ACCEPTED SOLUTION

You can easily do this in the query editor:

 

Create a reference table (right click on your table and select Reference)

 

Click on Group By in the ribbon

 

Select Building #, Condition and Room for grouping, sqft for aggregation set to sum

 

Done

View solution in original post

1 REPLY 1

You can easily do this in the query editor:

 

Create a reference table (right click on your table and select Reference)

 

Click on Group By in the ribbon

 

Select Building #, Condition and Room for grouping, sqft for aggregation set to sum

 

Done

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.