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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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