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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
KevDavies
New Member

Measure Conundrum

Hi All, 

New to BI and am struggling with the syntax for a measure. 

 

Table = Investigations

Field 1 = Locality

Field 2 = Count of Investigations

 

The visual gives me a count of investigations by Locality (all good)

What I want is the same information but in a measure for each Locality, i.e.

Location A = 30

Location B = 22

Location C = 12

 

In the grander scheme I want to be able to work out how many investigations each locality has had by "per 100 staff", but one step at a time!

Appreciate any support 

 

KD

1 ACCEPTED SOLUTION

Hi @KevDavies 

Create a new measure like

Measure = COUNT('Table'[Investigations])

or 

Measure = COUNTROWS('Table')

The 'Table'  here refers to the table you use.

 

View solution in original post

4 REPLIES 4
misaki233
Helper II
Helper II

Hi @KevDavies 

 

Try to place Locality in "legend" of any visualization.456.png

 

Hi @misaki233 

Thanks fot eh suport, getting the information in the visual is not the problem, I need it in a measure so I can make other calculations based on the individual localities.

 

Regards

 

KD

Hi @KevDavies 

Create a new measure like

Measure = COUNT('Table'[Investigations])

or 

Measure = COUNTROWS('Table')

The 'Table'  here refers to the table you use.

 

@misaki233 , Thank you so much, that worked.

 

Appreciate the swift response

 

KD

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.