Forum Discussion
Line Chart changing to dots
- 3 years ago
Hi katto16
I would recommend you to use a custom dates table and create relationship with other tables.
You can use below DAX to create a custom calendar table
Calendar= ADDCOLUMNS( CALENDARAUTO(), "Month No", MONTH([Date]), "Month Name", FORMAT([Date], "mmm"), "Year", YEAR([Date]), "Date Sort", FORMAT([Date],"YYYYMM") )Dont forget to sort the month name with month number. otherwise it will sort by alphabatically.
Hope this solve your issue
in the first visual the x axis showing quarter and in the second one x axis is year
This is due to the use of date hierarchy in the x axis. Avoid using heirarchy instead use the required value alone in the x axis. to get rid of auto time intelligence
file -> options and settings-> options -> current file - > DAta load -> time intelligence (uncheck)
Try using date dimension instead of using native date columns from the data
Hi VijayP Thanks for the input.
When I unchecked the time intelligence, the date hierarchy isn't available anymore. I need the hierarchy as I need to see the data by months instead of dates. I have two other pages that have the same settings with this and they don't seem to have this problem, meaning they stay as lines permanantly.
- vk_pbi3 years agoResolver II
Hi katto16
I would recommend you to use a custom dates table and create relationship with other tables.
You can use below DAX to create a custom calendar table
Calendar= ADDCOLUMNS( CALENDARAUTO(), "Month No", MONTH([Date]), "Month Name", FORMAT([Date], "mmm"), "Year", YEAR([Date]), "Date Sort", FORMAT([Date],"YYYYMM") )Dont forget to sort the month name with month number. otherwise it will sort by alphabatically.
Hope this solve your issue
- katto163 years agoHelper I
I managed to create the date table smoothly. Thanks for the code. I will just wait and see if the problem persists tomorrow. Thanks for the help!