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.
I was going thru a lot of reading/ viewing videos and I cannot figure this out.
the time intelligence feature in setting in Power BI Desktop is turned on but there is no hierarchy created on any date fields.
Is there anything else that I am missing?
Thank you
Solved! Go to Solution.
Thanks for the help.
I figured this out.
I was using DirectQuery feature from SQl server, not an Import.
It looks like this feature has some limitations on how it handles dates.
Even if it is shown in Power Quesry as Date type and it allows to apply Date data type, it still presenting data in BI as it is stored in SQL server table.
I am not sure would htis be solved at some time or not.
yes. The data is coming from sql server. the fields are date only format. I tried to change few to to date/time format - it is the same.
when I drop a field on a cansas, it shows date format
how I can do this?
Sorry, my bad.
yes, the date fields I was interested in are not date type in BI.
That would rise another question - why not?
they casted as Date in SQL view
I did not notice it because when I do a data transformation in Power query, they sare shown as Date data type but after loading intopower BI they are not.
columns show the Date type in Power query. I reselected them again as date type.
= Table.TransformColumnTypes(#"Removed Columns",{{"StatusDate", type date}, {"StatusChangeDate", type date}, {"Opened_Date", type date}, {"Closed_Date", type date}, {"ReportedDate", type date}})
they are not date type in BI after import.
Opened Transfromation and they are shown as Date type.
Any ideas??
thank you
Thanks for the help.
I figured this out.
I was using DirectQuery feature from SQl server, not an Import.
It looks like this feature has some limitations on how it handles dates.
Even if it is shown in Power Quesry as Date type and it allows to apply Date data type, it still presenting data in BI as it is stored in SQL server table.
I am not sure would htis be solved at some time or not.
go to cloud filw sharing resource like https://uploadfiles.io/ , upload your pbix and share link here
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |