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
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.
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!