Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table "Sales"with the columns for product, customer number and group ID. I would like to identify groups that have more than 5 members for product "M", why is the below formula not working, kindly suggest a better approach;
Solved! Go to Solution.
can you please try
GroupsWithMoreThanFiveMembersAndProduct is M =
FILTER(
CALCULATETABLE(
SUMMARIZE(
'Sales',
'Sales'[Group ID],
"Count", COUNT('Sales'[Customer Number])
),
'Sales'[Product] = "M"
),
[Count] > 5
)
hi @hosea_chumba ,
try like:
GroupsWithMoreThanFiveMembersAndProduct is M =
FILTER(
ADDCOLUMNS(
SUMMARIZE(
'Sales',
'Sales'[Product],
'Sales'[Group ID]
),
"Count",
CALCULATE(COUNT('Sales'[Customer Number]))
),
[Count]>5&&'Sales'[Product] = "M"
)
hi @hosea_chumba ,
try like:
GroupsWithMoreThanFiveMembersAndProduct is M =
FILTER(
ADDCOLUMNS(
SUMMARIZE(
'Sales',
'Sales'[Product],
'Sales'[Group ID]
),
"Count",
CALCULATE(COUNT('Sales'[Customer Number]))
),
[Count]>5&&'Sales'[Product] = "M"
)
can you please try
GroupsWithMoreThanFiveMembersAndProduct is M =
FILTER(
CALCULATETABLE(
SUMMARIZE(
'Sales',
'Sales'[Group ID],
"Count", COUNT('Sales'[Customer Number])
),
'Sales'[Product] = "M"
),
[Count] > 5
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 22 | |
| 20 | |
| 20 | |
| 14 | |
| 14 |