Skip to main content
Sisense Community logo
  • Community Feedback
  • Chapters
  • Events
  • Forums
    • Help and How To
    • Product Feedback Forum
    • Strategy & Use Cases
  • Blogs
  • KB Docs
    • KB Docs
    • Add-Ons & Plug-Ins
    • APIs
    • Best Practices
    • Blox
    • CDT
    • Cloud Managed Service
    • Data Models
    • Data Sources
    • Embedding Analytics
    • How-Tos & FAQs
    • Onboarding
    • PySisense
    • Security
    • Sisense Administration
    • Sisense Intelligence & AI
    • Troubleshooting
    • Widget & Dashboard Scripts
  • Support
  • Learning
    • Sisense Academy: Free Courses and Certifications
    • Official Developer Documentation
    • Official Product Documentation
    • Official Sisense Youtube Channel
    • Sisense Compose SDK Playground
  • Use Case Gallery
All PostsDiscussionsBlogsIdeasQuestions
Leaderboards
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
Discussions
  • Knowledge Base DocsChevronRightIcon
  • How-Tos & FAQsChevronRightIcon
Rolling Up A Date By Day Of The Week
           
Introduction
There is no OOTB option to roll up a date by the day of the week.Use this simple trick to achieve this with a simple custom field which will display and sort  as a calendar day without any additional script.
Instructions
Create an expression field in the Elasticube > Give it any suitable name e.g. Day of Week. 
Enter the formula as any day where the date corresponds to the day of the week.
E.g. Feb 01, 2016  is a Monday, Feb 02, 2016 is a Tuesday etc
createdate(2016,2,dayofweek([Date Field]))
Create a chart or a pivot in your dashboard, add the custom field  with the day roll up and format the field to only show the day. e.g. EEE or EEEE
intapiuser
By
intapiuser
Posted 3 years ago
                                       
         
0 comments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
               
                                                                                 
  •                                                              
  •                                                              
  •