Quantcast
Viewing all articles
Browse latest Browse all 5402

How can I set in a single input control as previous month and also allow users to choose other months in webi

Dear all,

 

I tried creating a variable for finding previous month. I know add_months() is the only function which will give us the previous month start date properly. But it seems this doesn't support the syntax in webi.

 

So Tried bringing previous month it from IDT to webi and created an object out of it.

Now I defined a condition in another variable :

1)Maximum of month :max(Month start date)-current month -I need to populate this as default.

2)All months till date : Month start dates Where Month Date <=current_date()

3)Now I created a variable where I defined

If(Sales Date >=current month and Sales Date<= current_date();current month;All months till date) to assign to input control.

But it ddint work.

 

Can anybody help me regarding how can I achieve in a single input control setting a default value as current month and also allows to choose rest of the months.

 

I have referred http://www.forumtopics.com/busobj/viewtopic.php?p=961453

 

Regards

Archana


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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