Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Data type not showing properly on Power Bi Desktop

Hi all,

 

I have a data set from a Postgre SQL in Direct Query Mode. In the Query Editor de format of the date column is shwon properly: 

Marina_MA_0-1655291774889.png

 

But when I go to the Power Bi desktop, it is no recognising the data type, so I cannot represent properly the data nor create any hierarchy

Marina_MA_1-1655291842638.png

 

Furthermore, many actions are not allowed in Direct Query mode, and I cannot change into Import mode, since there is many data to load.

 

Any suggestion? I would say this is a Microsoft Error?

 

Many thanks ina advance,

Marina Maqueda 

 

4 REPLIES 4
dcs
New Member

Have you found a solution to this? Struggling with the same issue. 

johncolley
Solution Sage
Solution Sage

Hi @Anonymous ,

 

Not all Date fields automatically have the hierachy option. You can confirm that it is recognising the data type in report view by clicking on the column and viewing the data type under column tools. 

 

Please refer to this Community Blog post that details your situation: https://community.powerbi.com/t5/Community-Blog/Why-there-is-no-date-hierarchy/ba-p/2266682#:~:text=First%20of%20all%2C%20we%20need,automatic%20date%20and%20time%20feature.&text=If%20you%20have%20not%20enabled,Global%20or%20Current%20File%20page

Anonymous
Not applicable

Hi, the problem is not the hierarchy (I could manage the report without that option), the problem is that in the Query Editor the field is a Date type, but in Power BI not, and I need it to be recognised as date in Power BI desktop so I can create the graphs properly. Once I get the solution about the Date format recognition, then I could start fighting the Hierarchy one 🙂

Many thanks anyway,

why is your name as syndicate admin? are you bot or a Microsoft employee? do they pay?
@Syndicate_Admin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.