- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YOY%
Hii Everyone!
I need to know what will be the YOY% for the price I have for the table properties with column name Current price. Please Provide me dax for that.
Thank you in Advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hii @huzzapac
YoY % Current Price =
VAR CurrentYearPrice = SUM('Property Table'[Current_Price])
VAR PreviousYearPrice =
CALCULATE(
SUM('Property Table'[Current_Price]),
SAMEPERIODLASTYEAR('Transactional Table'[Transaction_Date])
)
RETURN
IF(
NOT ISBLANK(PreviousYearPrice),
DIVIDE(CurrentYearPrice - PreviousYearPrice, PreviousYearPrice, 0),
BLANK()
)
If this helps, I would appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want it only based on years not based on the property type column I have ploted in table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hii @huzzapac
YoY % Current Price =
VAR CurrentYearPrice = SUM('Property Table'[Current_Price])
VAR PreviousYearPrice =
CALCULATE(
SUM('Property Table'[Current_Price]),
SAMEPERIODLASTYEAR('Transactional Table'[Transaction_Date])
)
RETURN
IF(
NOT ISBLANK(PreviousYearPrice),
DIVIDE(CurrentYearPrice - PreviousYearPrice, PreviousYearPrice, 0),
BLANK()
)
If this helps, I would appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hiii @huzzapac
YoY % Change =
VAR CurrentYearPrice =
CALCULATE(
SUM(PropertyTable[Current_Price]),
FILTER(PropertyTable, PropertyTable[Year] = MAX(PropertyTable[Year]))
)
VAR PreviousYearPrice =
CALCULATE(
SUM(PropertyTable[Current_Price]),
FILTER(PropertyTable, PropertyTable[Year] = MAX(PropertyTable[Year]) - 1)
)
RETURN
IF(
NOT ISBLANK(PreviousYearPrice),
DIVIDE(CurrentYearPrice - PreviousYearPrice, PreviousYearPrice, 0),
BLANK()
)
If this helps, I would appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want it only based on years not based on the property type column I have ploted in table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, you must be new here. YOY% calculation can be done in many ways, and mostly dependant on how your model is structured. If you could provide more details, eg a sample of your data etc, the community may be able to help you faster.
For now, the quick and dirty way is this:
Here is a resource for quick measure
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-quick-measures

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
01-30-2025 01:46 AM | |||
12-12-2024 10:44 AM | |||
09-30-2024 08:43 PM | |||
09-27-2024 10:34 AM | |||
08-13-2024 08:01 AM |
User | Count |
---|---|
88 | |
74 | |
63 | |
48 | |
36 |