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

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

Reply
ns1002
New Member

How do I filter by rows and count the total?

I need to be able to filter on the columns below to create a new column that filters and counts based on them.

 

For example, if Type is "AWS" or "Azure" filter based on director and count the number of same title there are. Similary for Type that is not "AWS" or "Azure".

 

TypeVPDirectorTitle
AzureSteveAdamEngineer
AzureSteve

Adam

Data Science
AWSSteveAdamEngineer
AWSSteveRoryEngineer
On-PremSteve

Rory

Network
On-PremSteveRory Network
VHOSTSteveRoryNetwork
Azure

Mary

AustinData Science
AzureMaryAustinData Science

 

The new table with the column should look like this:

VPDirectorTitleCount
SteveAdamEngineer2
SteveAdamData Science1
SteveRoryEngineer1
Steve

Rory

Network3

Mary

AustinData Science1

 

I tried to use the DAX GROUPBY and also the GROUPBY in power query. I'm not able to figure out a solution.

 

Please help me, if you can.

Thank you!

1 ACCEPTED SOLUTION
KRISHP1234
Helper I
Helper I

Try this 
Table =
SUMMARIZE(Sheet1,Sheet1[VP],Sheet1[Director],Sheet1[Title],"Counts",COUNTROWS(Sheet1))
KRISHP1234_0-1715835661435.png

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ns1002 ,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information and description to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

KRISHP1234
Helper I
Helper I

Try this 
Table =
SUMMARIZE(Sheet1,Sheet1[VP],Sheet1[Director],Sheet1[Title],"Counts",COUNTROWS(Sheet1))
KRISHP1234_0-1715835661435.png

 

Helpful resources

Announcements
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.