cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_1999
Helper I
Helper I

Saving values periodic to compare

Hi, 

 

(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!

1 ACCEPTED SOLUTION

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

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-automate-paginated-onedrive-shar....

 

Do you think that would work for you?

View solution in original post

7 REPLIES 7
amitchandak
Super User IV
Super User IV

@Alex_1999 , refer if this blog can help

Power BI — Qtr on Qtr with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
https://www.youtube.com/watch?v=8-TlVx7P0A0



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!

CTozzi
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: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-export-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: 

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-automate-paginated-onedrive-shar....

 

Do you think that would work for you?

View solution in original post

That is great, thank you!

Helpful resources

Announcements
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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors