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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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

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

 

John

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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