Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Are Date Heirarchies available for DateTime fields created via the PowerBi API?
I would like to be able to group my bar charts by year, month, etc.
I have a 'Push' dataset created via the API. I have tables with 'Datetime' columns. In the Service GUI, when I add the date columns to the Axis section of a Bar Chart, it does not provide a Date Hierarchy.
I am confident that the column type is 'Datetime'.
I tried changing the column type to 'Date' but it is not supported by the API.
Calculated columns (such as one that would automatically create the Year, Month, etc) are also not supported by the API.
I tried sending new data with only the date portion, but PBI still tranformed it into a date time (ie. it added the time portion).
Solved! Go to Solution.
And I suppose it doesn't make much difference that I'm using a "Push" dataset, not a streaming? I suppose it's essentially the same problem where the Calendar table would need to be updated any time I added another record....
Hi @tsummerer,
Current power bi not support analysis date to date hierarchy which from streaming dataset.
About analysis date column to date hierarchy, it is create a hidden calendar table based on date records.
But for steaming dataset, the records are increased each time, so it is impossible to create calendar table and anlysis the date column to hierarchy.
Regards,
Xiaoxin Sheng
And I suppose it doesn't make much difference that I'm using a "Push" dataset, not a streaming? I suppose it's essentially the same problem where the Calendar table would need to be updated any time I added another record....
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
30 | |
18 | |
14 | |
8 |
User | Count |
---|---|
50 | |
38 | |
31 | |
15 | |
13 |