Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217360

Last 12 months achievement Region Wise

$
0
0

Hi,

 

My requirement is to show last 12 months achievement tabular view region wise as well as in barchart month wise on a same page. 

I got the last 12 months value and prepared the barchart, but I am not able to form required tablular view. 

 

I have used following calculation for measure:

Last12MonthsAchievement=

var Ldate=DATE(max('Year'[Year]),MAX('Month'[Month]),1)

var Fdate=EDATE(Ldate,-13)

var SumValue= sum(Product[Sales])

return if( min('My Date'[Date])<Fdate,11,IF( min('My Date'[Date])>Ldate,22,SumValue)

 

(Where 'Year' and 'Month' are 2 independent tables; 'My date' is table built in "Calendar" formula linked to the 'Product' which is my actual data table)

 

Now I want to show this value as region wise(i.e. date will not be there in viewed table)

 

Please tell me the wat to do it.

Am I on a right tract to solve this or need to use some other method?  Please suggest.

 

Thanks in advance.

Regards,

Farin

 

 

 

 

 


Viewing all articles
Browse latest Browse all 217360

Trending Articles



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