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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |