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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Comparing Data

Hi, 

 

I have some value data from 2006 till 2020 on monthly basis from a meter and a new value will be uploaded in PBI each month. If I want to compare this information in a way I have month on X-axis and Value on Y-axis and can select/compare; for example, the last 3 yrs or 5 yrs, what should I do? 

 

1.JPG

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

It’s my pleasure to answer for you.

According to your description,I think you can create a calculated column ,then use it in the legend.

Like this:

year = YEAR(Table1[merged ])

8.png

 

Here is my sample .pbix file.Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

It’s my pleasure to answer for you.

According to your description,I think you can create a calculated column ,then use it in the legend.

Like this:

year = YEAR(Table1[merged ])

8.png

 

Here is my sample .pbix file.Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

The objective is to compare this year's values with any combination of previous years values. For example, 2020 with 2019, but also 2020 with 2017, 2018, 2019. 

vanessafvg
Super User
Super User

can i ask what you are looking for?  there are different ways of comparing for example you could compare last year to this year by creating 2 different measures.    You could also look for correlations based on categories.   what is your objective?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.