Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48524

Re: Previous YEAR vs Selected Year

$
0
0

Not getting you properly but i have done something as below.

 

I have used few calculation one is for current year real value and the last year real value as below

 

Last Year Real value = IF(YEAR('Table name'[Date Field])=YEAR(NOW())-1 , 'Table name'[Real value])

 

Current Year Real value = IF(YEAR('Table name'[Date Field])=YEAR(NOW()),'Table name'[Real value])

 

REal value.png

 

 

I thnik you should attach your pbix so that i can have more idea and give you the best i can.

 

Thanks 

Abhi.

 


Viewing all articles
Browse latest Browse all 48524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>