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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mohittimpus
Helper V
Helper V

Growth value(%) From "recent date (current month if possible)" and "6 months prior to this date."

Hello,

I have Two column date and data. I need Growth value (%) From "recent date (current month if possible)" and "6 months prior to this date." using "Measure"

Below to google link:

 

CSV File: https://drive.google.com/file/d/1mfhNLCbyxNLbgh5ZVItsNFmXonrrLt3p/view?usp=sharing

Power bi file : https://drive.google.com/file/d/14kNF3JpFkniWcbbM3ROF9yMz3t8gXw3J/view?usp=sharing

 

 

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @mohittimpus ,

You can refer the following blogs to get the growth value:

Measures – Month to Month Percent Change

Month on Month % Change Trend For last 6 Months

Display Last N Months & Selected Month using Single Date Dimension in Power BI

If the above methods are not applicable for your scenario, could you please upload your data file and report file to OneDrive for Business and share the link with us since the links in your previous post is not available? Thank you.

Best Regards

Rena

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

@mohittimpus your pbix and csv is not available to download. As a best practice, add date dimension in your model and use it for and time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools.

https://perytus.com/2020/05/22/create-a-basic-date-table-in-your-data-model-for-time-intelligence-ca...

 

and from here all time intelligence functions will be easy to work with, you can do something like this

 

Base Sum = SUM ( Table[Data] )

Prev Month = CALCULATE ( [Base Sum], PREVIOUSMONTH ( DateTable[Date] ) )

% Growth = DIVIDE ( [Base Sum] - [Prev Month], [Prev Month] )

 

similarly, you can add previous day, and anytime period...

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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