cancel
Showing results for
Did you mean:
Regular Visitor

## Breaking down values in a line chart

Hi

I'm trying to make a line chart with 4 lines, but with using only 3 variables.

The first line is simple, as the value is the average of a variable and the axis is date.

The remaining three lines are more complicated. As in the first line, I want it to be the average of a variable. But this variable has to be broken down by three different values, as it measures satisfaction on 3 different areas. So they are asked how they have checked-in and get 3 different options. Later, people are asked how satisfied they are with the process of checking in. I want the average line for each possible answer to be shown in the chart.

Does anyone have an idea that might work?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

## Re: Breaking down values in a line chart

I think I have found a solution, although it may not be the optimal one. But it works. I've made three conditional columns. So "If Check-in Method = Self service  Then ValueFromMeanCheckIn" This gives me the values that I'm looking for.

5 REPLIES 5
Member

## Re: Breaking down values in a line chart

Hi,

could you show us some example data. In that way it is hard to understand.

My first thought is just to make the Averages of those 3 (part) Measures and calculate them strictly mathematically.

=(AVG(Values1) + AVG(Values2) + AVG(Values3))/3

Microsoft

## Re: Breaking down values in a line chart

Hi @kjartank,

Base on my understanding, you should be able to create different measures with the three variables correspondingly, then show all the measures on the line chart in this scenario.

Could you post your table structures with some sample data and your expected result, so that we can further assist on it?

Regards

Regular Visitor

## Re: Breaking down values in a line chart

Hi.

I'm attaching two pictures. One of the chart I want to produce and one of the data structure. I simply want to break it down to the average mean of each chech-in method.

Regards

Highlighted
Regular Visitor

## Re: Breaking down values in a line chart

I think I have found a solution, although it may not be the optimal one. But it works. I've made three conditional columns. So "If Check-in Method = Self service  Then ValueFromMeanCheckIn" This gives me the values that I'm looking for.

Microsoft

## Re: Breaking down values in a line chart

Hi @kjartank,

Great to hear the problem got resolved! Could you accept your reply above as solution to close this thread?

Regards

Announcements

#### Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

#### Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

#### Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

#### Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

#### Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors