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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
newrice
Frequent Visitor

Why the YOY Change isn't based on Sales YTD and Sales LYD

Hello,

 

The value isn't based on Sales YTD(222.86M), Sales LYTD(271.17M) when I use below measure.

YoY Change = DIVIDE([Sales YTD] - [Sales LYTD], [Sales LYTD])
 
I got 0.56(56%) rather than -0.178(-17.8%).
 
Hope someone could help me on this.
Thank you in advance,
1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @newrice ,

If I understand correctly, the expected result for [YoY Change] is -0.178(-17.8%), but it return 0.56(56%). Could you please provide some raw data in your tables (exclude sensitive data) with Text format, the formula of measure [Sales YTD] &[Sales LYTD] and your visuals settings? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

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.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.