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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply

Count of drivers per geofence

Hi Fam,

I need assistance. 

I have a table where it tells me the name of the drivers and their assigned geofences. 
How could I turn this table to just show the number of drivers per geofence? 

1.png

Eventually, I need to compute the average number of orders per driver in their specific geofences.

 

Your help is much appreciated.



1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@Andrew_na_lang ,

Create a new Measure:

Drivers_Count = DISTINCTCOUNT( YourTable[name] )

In a Table Visual bring in geofence and add this new Measure.

If you have a small number of geofences, even a column or bar chart visual may work.  Just bring in geofence as an axis and this new Measure as the Value.

Good Luck and Regards,

 

 

View solution in original post

1 REPLY 1
rsbin
Super User
Super User

@Andrew_na_lang ,

Create a new Measure:

Drivers_Count = DISTINCTCOUNT( YourTable[name] )

In a Table Visual bring in geofence and add this new Measure.

If you have a small number of geofences, even a column or bar chart visual may work.  Just bring in geofence as an axis and this new Measure as the Value.

Good Luck and Regards,

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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