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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
jer13811
New Member

Seeking Guidance on Grouping and Filtering Customers by Online IDs in PowerBI

I want to group customers by the number of Online IDs (1 ID, 2 IDs or 3IDs). I also want to filter by these groups and if I apply a filter to exclude certain IDs then the number of IDs for a customer and the group they are placed in could change if the filter excludes some of their IDs which places them into a different group.

I have a table with Online IDs as the most granular level within the table. It has descriptive columns for this Online ID and the customer linked to this online id as well as the credits consumed.

 

Screenshot 2025-02-14 at 11.48.19 AM.png

For example, with no filters, Customer A has 3 IDs and is placed in the '3+ ID' group. If I filter for only paid IDs, Customer A only has 2 and now is placed in '2 ID' group. The most important thing is I want to filter by this grouping. So now with this filter applied, I want to filter the whole page for customers that are in the '2 ID' group and Customer A should now be in the output.

Slicer
Screenshot 2025-02-14 at 11.48.10 AM.png

Thanks in advance.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1739597112250.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1739597112250.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
parry2k
Super User
Super User

@jer13811 this falls under dynamic segmentation, check this blog post and tweak the solution for your need. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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