Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Samboko
Frequent Visitor

Scatter Plot for % Variance of Monthly Data on Y axis and Yearly Data on X Axis against Select Date

I'm looking for an easier way to create a scatter plot where I can plot the relative variance of Tonnes Collected in the past R months on the Y-axis and relative variance of Tonnes Collected in the past S years for that given month on the X-axis (where R is a selector where you can select 1-12 months, and S is a selector where you can select 1-5 years). The idea is that I can select a given month, say January 2018, and the scatter chart will display the % variance every collector has from the tonnes they collected, on average, in November and December of 2017 on the Y-axis, and the % variance every collector has from the tonnes they collected, on average, in January 2017 and January 2016. This will let me quickly find collectors who are outliers that have made a drastic change to how many tonnes they are collecting, without having to go through and analyse each collector individually. 

 

I have a very ugly solution which I don't think is actually working for the year over year variance. I'm sure there is an easier way to do it but I keep getting hung up on how I will allow the user to select the month he or she wants to analyse, and then have the data compile to that relative date. My crude solution uses two date tables but they need to be unlinked otherwise they filter each other. I'm not sure what question to ask as I'm not sure the best way to tackle this problem, any suggestions or links to existing solutoins are much welcomed!

 

Scatter Chart.png

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @Samboko,

 

I aggree with your solution that use two unrelated data tables. Per my understanding, if we select a date (for example 2017-12) and specify the previous month number, for example, 3 months, the dataview will be filtered from 2017/9~2017/11. That case, other records are filtered out in visual, we are not able to get and display values in previous years.

 

Regards,

Yuliana Gu

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.