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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
srkase
Helper IV
Helper IV

CURRENT MONTH CURRENT YEAR AND CURRENT MONTH PREVIOUS YEAR - VALUE COMPARISONS

i have a table like this

YEARMONTHPARTYVALUECATEGORY
20152016APRA100P
20152016APRA200P
20152016MAYB105S
20162017APRA80P
20162017APRA80P
20162017MAYB90S
20172018APRA100P
20172018APRA100P
20172018MAYB105S
20182019APRA200P
20182019APRA300P
20182019MAYB100S

 

I have used matrix to sort the data.  the result is

PARTY       20152016   20162017 20172018    20182019   Grand Total

A3001602005001160
B10590105100400

 

My requirement is..

 

say 20182019 is the current year..

I want to know the current year till current month and   previous year till current month value in the result..

 

Any one pls guide me ? I am beginner 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Take a look at this post that I solved for someone else. You want to use the time intelligence functions, but there are a few steps

https://community.powerbi.com/t5/Desktop/What-s-wrong-with-my-SAMEPERIODLASTYEAR-statement/m-p/77086...

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Take a look at this post that I solved for someone else. You want to use the time intelligence functions, but there are a few steps

https://community.powerbi.com/t5/Desktop/What-s-wrong-with-my-SAMEPERIODLASTYEAR-statement/m-p/77086...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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