Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
6 subscribers
Views
1913 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is it possible to return derived field such as month of the date using query ent
saravanana
over 10 years ago
Is it possible to return derived field such as month of the date using query entity rather than creating views.. Any thoughts?
OriginalPostID-155606
OriginalPostID-155606
Discussion posts and replies are publicly visible
0
PhilB
A Score Level 1
over 10 years ago
You can't do it directly in query entity - you'd have to apply some sort of function like month() over the resulting data.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saravanana
over 10 years ago
Filtering criteria will help to get subset data, does not help to query derived or calculated fields.. Any other suggestion?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike James
Certified Lead Developer
over 10 years ago
You can perform simple aggregation calculations with query entity, but you can't return a derived or formatted field like you could with, say, a SQL statement. Unfortunately, as Phil outlined, you'll need to return the data then perform the manipulation you need - or create a view. Good luck!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saravanana
over 10 years ago
Ok, Thanks Mike, I opted for database View option, it is easier and working good
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel