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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
OriolCanellas
Regular Visitor

User Grouping Data based on selection

I am investigating the ability for users to be able to group data from a dataset by filtering, and be able to generate reports based on these groups. 

 

The idea would be for a user to filter down the current dataset down to the items they would like to group, and with some kind of trigger be able to identify those selected items as part of "Group 1". Then, the user could repeat this operation for many different groups like "Group X". Once they have completed their grouping we could show a graph which identifies each line based on the group number by color.

 

As an example: If I have a list of items sold at a store, and I am allowing the user to filter down to each individual item or a group of items. When the user decides he has filtered down to what he wants to be a part of a group PowerBi could then identify such selection as "Group X". Once the user has completed this step, the graph could show price over time for each item and identify the lines with a different color based on their group.

 

To summarize:

  1. Users can filter the dataset to select specific items.
  2. They can then designate these selected items as part of a group (e.g., "Group 1").
  3. They can repeat this process for multiple groups if needed (e.g., "Group X").
  4. Once the grouping is complete, a graph can be generated where each line represents a different item, and the items belonging to each group are distinguished by different colors.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @OriolCanellas ,

 

Like @lbendlin said, you can only do it in Power BI Desktop.

 

Please follow these steps:

 

1. First, here is the raw data I created.

vhuijieymsft_0-1708929397091.png

 

2. Create a calculated column to group products based on their names and identify them as different categories.

vhuijieymsft_0-1708930234799.png

 

 

 

3. Drag the fields you need to the report page for display and set conditional formatting.

vhuijieymsft_1-1708929397094.png

 

The final page effect is as shown below.

vhuijieymsft_0-1708929589386.png

 

4. The chart can show the price of each item over time and identify lines with different colors based on their group.

vhuijieymsft_1-1708929622932.png

 

5. Now, you can select different groups to display in the "Filter" pane on the right.

vhuijieymsft_2-1708929632693.png

 

Because there are multiple visual objects, Category needs to be added to the "this page" level Filter.

 

If you have any further questions please feel free to contact me.

 

pbix file is attached.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @OriolCanellas ,

 

Like @lbendlin said, you can only do it in Power BI Desktop.

 

Please follow these steps:

 

1. First, here is the raw data I created.

vhuijieymsft_0-1708929397091.png

 

2. Create a calculated column to group products based on their names and identify them as different categories.

vhuijieymsft_0-1708930234799.png

 

 

 

3. Drag the fields you need to the report page for display and set conditional formatting.

vhuijieymsft_1-1708929397094.png

 

The final page effect is as shown below.

vhuijieymsft_0-1708929589386.png

 

4. The chart can show the price of each item over time and identify lines with different colors based on their group.

vhuijieymsft_1-1708929622932.png

 

5. Now, you can select different groups to display in the "Filter" pane on the right.

vhuijieymsft_2-1708929632693.png

 

Because there are multiple visual objects, Category needs to be added to the "this page" level Filter.

 

If you have any further questions please feel free to contact me.

 

pbix file is attached.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

lbendlin
Super User
Super User

You can do all this, but only on Power BI Desktop at the moment.

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors