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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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