Forum Discussion

sunjin122's avatar
sunjin122
Helper I
10 years ago

how to extract Hour from a Time format in Direct Query Mode?

Can anybody tell me how to  extract just Hour from a Time column in Direct query mode? Thanks ahead:smileyhappy:

8 Replies

  • arify's avatar
    arify
    Microsoft Employee

    Can you try to do it in the query editor first, and then load it to the designer?

    • sunjin122's avatar
      sunjin122
      Helper I

      This cannot be done in Query Editor since this is live data by using DirectQuery mode instead of Import data...

      • arify's avatar
        arify
        Microsoft Employee

        May I ask what data source you are using?