Forum Discussion

sshekar7's avatar
sshekar7
Frequent Visitor
10 years ago

scatter chart with growth rate

I have data in this format...   industry, year, employees

 

i have measure of growtrate like this...

 

divide (sum(Data[EMPLOYEES]) - calculate(sum(Data[EMPLOYEES]),SAMEPERIODLASTYEAR(Data[YEAR])), calculate(sum(Data[EMPLOYEES]),SAMEPERIODLASTYEAR(Data[YEAR])))

 

This works fine as long as use this only for line chart with growthrate by year. I can also fillter the data by industry.

 

I want scatter chart which shows employment and growth for give year by industry.  I have year filter so that we can view only one year at a time. Issue i have is that if i choose a year, i get employment right but no growth (because calculation needs previous year growth). If i select two years then i get growth right but employment adds up across year.

 

Can scatter chart by done in anyway with dynamic calculation of growth and filtered by year.

 

 

 

1 Reply

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Icon for Community Support rankCommunity Support

    Hi sshekar7,

     

    Based on my test, when we check one year, the scatter chart also can display the growth. See:

     

     

    I have attached the test .PBIX file for your look. If I misunderstand the requirement, please correct me.

     

    Best Regards,
    Qiuyun Yu