cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Re: Finding the average for a particular department

Hi @cuskav,

 

I am still a little confused. How to average strings (Stable, Low Risk). You can change the blue part to your table name.

Average =
COUNT ( Table1[ServiceStatus] ) / DISTINCTCOUNT ( Table1[ServiceStatus] )

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Regular Visitor

Re: Finding the average for a particular department

Thanks - I'm one of these people who ask the question first, then go looking for the answer while I'm waiting for a response. I find it, then feel embarassed that I already know.

 

You've bene a great help.

 

I'll mark your answer as a solution.

Highlighted
Regular Visitor

Re: Finding the average for a particular department

Hi Dale,

 

I'm looking back on the solution you provided. I'm trying to get that last table you show which shows just the Title and Average Service Status. I'm not sure you provided the full solution. I've created the measure of

Average = COUNT( 'Service Health Checks'[ServiceStatus] ) / DISTINCTCOUNT ( 'Service Health Checks'[ServiceStatus])

but I think in our final table (the one I want!) I think you might use that measure within a calculation. I'm not sure you provided that. Any chance you could give me further help with this?

Highlighted
Microsoft
Microsoft

Re: Finding the average for a particular department

Hi @cuskav,

 

The measure evaluates the number of ServiceStatus of each ServiceStatus. Maybe it's meaningless. Could you please explain what you want exactly? I have no idea about  "measure within a calculation".

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors