Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Saving values periodic to compare



(I'm new so sorry if I'm at the wrong place to ask this).


After some research I'm wondering if It is possible to do what I'm trying.  

I get data in Powerbi from a query/rest API.  What I am trying to do is to compare the sales data I collect and compare it to previous quarter. So I have for example a barchart with the current sales data by category. And now I want to compare that to last quarter. Is there a way to create a column that saves the current value of a quarter, so I can compare it? (Instead of comparing it by hand).


Thanks in advance!


@Alex_1999 you could do that with Power Automate. refer to this page:


Do you think that would work for you?

View solution in original post

Super User IV
Super User IV

@Alex_1999 , refer if this blog can help

Power BI — Qtr on Qtr with or Without Time Intelligence

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helper II
Helper II

@Alex_1999 , are you able to access the historical data? Could you explain how do you want to compare the sales, for example, Total Current Quarter VS Total Previous Quarter or Current Quarter to Date vs Total Previous Quarter or Same Period Previous Quarter?

@CTozzi, Thank you for your reply, I'm can't see the historical data. I want to compare Total current quarter with total last quarter. My problem comes from the fact I don't have last the values of last quarter. So for example if the total sales of current quarter is 1000, And last quarter was 995 I want to save the value 995 so I can compare them. The data I have will only show the current value (in this example 1000).  I hope this helps to clarify my question 😉 


Thanks again for your help!

@Alex_1999 are you able to export and save the data every quarter? Then you can create another file to combine the data and run the calculation?

Export the data:

@CTozzi That could be a solution indeed. I was wondering if there was a way to automize this proces within PowerBI. 

Thanks a lot!

@Alex_1999 you could do that with Power Automate. refer to this page:


Do you think that would work for you?

View solution in original post

That is great, thank you!

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors