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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors