Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Formatting Date Prompt in a Universe (SQL Server DB)

$
0
0

I have a date/time field from a SQL Server database that needs to be formatted to remove the time value from the prompt and list of values.  I am able to convert the field in the Universe to display the designated date format by adding the following the logic below to an Object:

 

convert(date,dbo.datetable.date,101)

 

However, when I create a prompt using the logic below the prompt value and list of values still displays the date and time.

 

@Select(datetable\date) = @prompt ('Date', 'D', 'datetable\date', mono, free)

 

'Apply on Universe' and 'Apply on List of Values is selected on the Universe.

 

Any help would be appreciated to find out how to remove the time display from the Prompt/List of Values.

 

Thank you.


Viewing all articles
Browse latest Browse all 1291

Trending Articles



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