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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
johndolan2
Resolver I
Resolver I

DAX measure Help

Hi. Any help would be appreciated. I am trying to get the total count of service IDs. A service ID has 2 end points. One end point at one street address and the other at a 2nd street address. What I am trying to get to is shown in the bottom table.

 

My starting point is the table below

 

street address

   service ID    

     city

      state

1 STATE ST

   ABC123

   BOSTON      

    MASSACHUSETTS

15 JOY ST

   ABC123

   SPRINGFIELD     

    MASSACHUSETTS

8 APPLE AVE

   DEF123

   TACOMA

    WASHINGTON

1 STATE ST

   DEF123

  BOSTON

    MASSACHUSETTS

 

 

What I am trying to get --

 

State

Service ID Count

MASSACHUSETTS         

  3

WASHINGTON

  1

 

Thanks,

 

John

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@johndolan2 , In a visual with count(Table[service ID])  with state should give same result

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Hi Amit!! Oh Thank you!!!!!!!!

 

John

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@johndolan2 , In a visual with count(Table[service ID])  with state should give same result

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit!! Oh Thank you!!!!!!!!

 

John

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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