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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
cristianml
Post Prodigy
Post Prodigy

Measure for Values in column for same period but previous Fiscal year

Hi,

 

I need HELP to CALCULATE the same value but from PREVIOUS Fiscal year period for each category (Entity, SG, HEADS) that I have in the following columns:

cristianml_0-1631331026265.png

I need this to compare in a visualization thru a clustered column chart and Matrix table.

Note: The FY starts in September but I think this is irrelevant and it can be performed using only the Period colum.

 

How can I do this ?

 

Any idea or trick  for this ?

 

 

Thanks !

 

   

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Generally speaking, the SAMEPERIODLASTYEAR function can solve the problem. Please try.

Measure = CALCULATE(SUM('Table (2)'[Value]),SAMEPERIODLASTYEAR('Table (2)'[Period]))

View solution in original post

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Generally speaking, the SAMEPERIODLASTYEAR function can solve the problem. Please try.

Measure = CALCULATE(SUM('Table (2)'[Value]),SAMEPERIODLASTYEAR('Table (2)'[Period]))
Ashish_Mathur
Super User
Super User

Hi,

You are writing a calculated column formula in your Table.  Please write a measure in your visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

How is the measure I need to write in the visual ? 

I do not know what measure you are trying to write but you have to write a measure by clicking on Modelling > New measure.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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