Forum Discussion
Continuous x-axis issue
- 9 years ago
In order to properly show dates as "continuous" data, you need to be using dates from a date table, not your non-continuous fact table (that's categorical and why it is showing correctly as categorical). After building the data table, you link your fact table dates to the date column in your date table. The x-axis would then be from the date (or month, or year, etc.) column in the date table, not from your fact table.
In order to properly show dates as "continuous" data, you need to be using dates from a date table, not your non-continuous fact table (that's categorical and why it is showing correctly as categorical). After building the data table, you link your fact table dates to the date column in your date table. The x-axis would then be from the date (or month, or year, etc.) column in the date table, not from your fact table.
- rlu6 years agoFrequent Visitor
Hi tjd ,
How do I link my fact table dates to the date column? I'm having the same issue, but I created a custom Week column, which I'd like to use as my x-axis. Since it's a custom column, it is being stored as a Text data type rather than a Date data type.
Here is the formula for my custom Week column:
weekInYear = year('calendar'[Date]) & " Week " & WEEKNUM('calendar'[Date])I'd like to show weekInYear as my x-axis. How can I convert it to a continuous field so that it shows Week 10 after Week 9 instead of after Week 1?Thanks!- tjd6 years agoImpactful Individual
Your Fact-table date column should be set up as Date type. Your custom week should be set up in your calendar. You then link your Calendar-Date column to your Fact-table date column (in relationships). When creating an x-axis, you should use the date values from your Calendar table, not your Fact-table. It will then be continuous across all dates.