- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Visual line chart multiple average lines
Hi.
I have a table with inflation rate by country and year.
I need make a line chart with multiple average inflation line group by some value in other column.
I made 3 (number 1 in photo) measure that have the average from value column (inflation value). One filter by column that identify G7 country (number 2 in photo), other the G20 and the last one withe all country.
But I don't why all line have the same value, but when I make a card visual (number 3 in photo) I can see the correct value.
What is wrong?
Table and the columns
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Merinoide ,
You can try the following dax:
Measure =
CALCULATE(
AVERAGE('Headline_consumer_price_inflation_nnual'[Valor]),
FILTER(ALLSELECTED('Headline_consumer_price_inflation_nnual'),'Headline_consumer_price_inflation_nnual'[G7]="G7"))
Can you provide a sample PBIX that removes sensitive data and table format? We can better understand the problem and help you
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Merinoide ,
You can try the following dax:
Measure =
CALCULATE(
AVERAGE('Headline_consumer_price_inflation_nnual'[Valor]),
FILTER(ALLSELECTED('Headline_consumer_price_inflation_nnual'),'Headline_consumer_price_inflation_nnual'[G7]="G7"))
Can you provide a sample PBIX that removes sensitive data and table format? We can better understand the problem and help you
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
08-22-2024 12:04 PM | |||
06-17-2024 10:00 AM | |||
10-23-2024 12:16 AM | |||
11-01-2023 06:10 AM | |||
07-31-2024 03:01 PM |
User | Count |
---|---|
141 | |
117 | |
80 | |
65 | |
47 |