Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I am using both Impot and DQ to insert the same table from Azure SQL DB. Both are showing date/time columns in PowerQuery with the correct data type, however when I go to the report the DQ does not show the date/time format. It also appears as a date/time format in the toolbar. Tried all sorts of data conversion methods - any ideas?
Date/Time Columns: TimeInserted, TimeRefreshed. Top table is Import.
PowerQuery look at DQ table - correct format:
Report view of Query Table - incorrect format:
Data type: correct format?
Hi @supersharp ,
Auto date/time is unavailable in DirectQuery. For example, special treatment of date columns (drill down by using year, quarter, month, or day) isn't supported in DirectQuery mode.
details information refer,the following article tells limitations of use Direct Query:
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery
Best Regards
Lucien
@supersharp , First of all, make sure it is datetime in power query and then in Column tools(Data tab). I am not seeing a calendar icon , so bit doubtful.
Also you can choose a format of you choice in column tools. Choose one with datetime
Hi @amitchandak - I tried all those as per the images.
- PowerQuery shows the columns as date and time
- Column Tools shows it as date/time too
- However, in the Report View - Fields Pane, I do not have get date hierarchy to work with - which is odd (see the field selector second table). The exact same table is showing the date/time hierarchy when using Import Mode.
User | Count |
---|---|
85 | |
80 | |
77 | |
49 | |
41 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |