cancel
Showing results for
Did you mean:
Regular Visitor

## Calculatng a measure for total number of answers for a given question

Ok so I have various questions and i'd lik eto create a new measure which will give me a count of the number of answers

eg, I like football

10 = agree completeley

8 = somewahat agree

and so on

How would I do this please ?  Is it something along the lines of measure = countx(sheet1,Sheet1[Answer]="agree completely")  I can't seem to get this to work.

Alternatively how could i go about making numerous pie charts to show the answers of 7 or 8 questions without uploading them as sepreate sheets?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User

## Re: Calculatng a measure for total number of answers for a given question

@Jay2077

`Measure=countrows(Filter(sheet1,Sheet1[Answer]="agree completely"))`

OR

`Measure2=countX(Filter(sheet1,Sheet1[Answer]="agree completely"),1)`
Highlighted
Super User

## Re: Calculatng a measure for total number of answers for a given question

@Jay2077

`Measure=countrows(Filter(sheet1,Sheet1[Answer]="agree completely"))`

OR

`Measure2=countX(Filter(sheet1,Sheet1[Answer]="agree completely"),1)`

Announcements

#### Back to School Contest

Engage and empower students with Power BI!

#### Watch Sessions On Demand!

Continue your learning in our online communities.

#### Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

#### PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Top Kudoed Authors
Users Online
Currently online: 38 members 1,041 guests
Recent signins: