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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors