Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8712

Re: Creating a Month Name in the Date Dimesion

$
0
0

HI Arijit,

Thanks for replying back. The problem with Index Awareness is its limitations

 

Limitation of Index awareness

  1. Only the following operands are supported by Index awareness:
    • Equal to
    • Not Equal to
    • In List
    • Not In List
    • Both
    • Except

if you are providing the "Month Name " and "Year" as two dimensions to the user ( which most user ask for), then they are going to use it in the filter. For an example. Show me the total sales between "July 2013"  and "June 2014"

 

So in that case they will put the year in the filter  panel and select "Year" Between 2013 and 2014

and then they will put the Month name in the filter panel and select "Month Name" between "July" and "June"

 

So they expect the resulting query should form something like shown below and return the results

 

SELECT BRANCH, SUM(SALES), SUM(PROFIT)

FROM BRANCH, SALES

WHERE SALES_DATE BETWEEN TO_DATE("July, 2013", "Month, YYYY")  and TO_DATE("June, 2014",'Month, YYYY")

 

this is what the implementation requirement is . How to achieve this ?

 

Thanks


Viewing all articles
Browse latest Browse all 8712


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