Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 219136

Hide/remove default date 30-12-1899/1-1-1900 from x-axes

$
0
0

Hi there,

 

In a .pbix file I have both a stacked column chart and a clustered column chart with 'time' on the x-axes. For the stacked column chart the x-axis is made up of every 15 minutes of a day. For the clustered column chart, the x-axis is divided up in hours of a day.

 

The time values come from a column with data type 'time' in a Time Dimension table (coming from Azure SQL Database) and this column has no dates in it. Nevertheless, when putting the time values on the x-axis, the charts show Power BI's default date value of 30-12-1899. I do not seem to be able to remove/hide this date value from the x-axes. Additional difficulty is provided by the fact that I HAVE to use Direct Query as eventually it has to be used in Power BI Embedded.

 

If I change the data type of the time column in my datasource from 'time' to 'datetime', the same problem persists but with 1-1-1900 as default date.

 

Can anyone help me out? Would be greatly appreciated!

 

Regards,

 

Robin


Viewing all articles
Browse latest Browse all 219136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>