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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Labels Visuals with "SAMEPERIODLASTYEAR: formula

Hello,

 

I write here because they asked me to do that here: https://community.fabric.microsoft.com/t5/Desktop/Comparing-last-12-months-to-previous-12-months-par...
 
I have 2 formula's.

1. Revenue LY Per Month - for chart = CALCULATE([Revenue this year Per Month - for chart], SAMEPERIODLASTYEAR('Calendar Table'[Date]))
2. 
Revenue this year Per Month - for chart = SUM(KPI_EOL_sync_financial_transactionlines[Revenue])

My visual column diagram looks like this. Where green is revenue this year and blue revenue last year.
If I hover over aug 2025, for last year I still see "aug 2025" and not "aug 2024".

How can I fix this?

Schermafbeelding 2025-09-05 010742.png
 
 

 

 

Status: New