Quantcast
Viewing all articles
Browse latest Browse all 2151

Re: Custom Prompt In Query

Hi Jeff,

 

As per my understanding, you just want to capture a value from user provided as part of @prompt but no filters to be applied.

For doing this you need not create any conditional object, normal dimension object with @prompt function as its definition should be sufficient for you. @Prompt('Enter Fiscal Year Period (e.g. 1 for July):','N',{'1','2','3','4','5','6','7','8','9','10','11','12'},Mono,,Persistent,,User:0)

 

Basically prompt will be in the select clause not in the where clause.

Here is the sample e-fashion query

SELECT

 

Agg_yr_qt_rn_st_ln_ca_sr.Yr,

 

@prompt('Enter values for Year:','A','Time period\Year',Mono,Free,Persistent,,User:0)

 

 

FROM

  Agg_yr_qt_rn_st_ln_ca_sr

 

Let me know if you are looking for something else


Viewing all articles
Browse latest Browse all 2151

Trending Articles



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