Forum Discussion

Merinoide's avatar
Merinoide
Frequent Visitor
3 years ago
Solved

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 phot...
  • Anonymous's avatar
    Anonymous
    3 years ago

    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.