Forum Discussion
DATE format / sort date issue
- 8 years ago
I just want share with all how I solve this "problem". I've been created new column with veeeeeeeeeeeeeery long input:
28_______________________________________________________28/01/2018
29_______________________________________________________29/01/2018
30_______________________________________________________30/01/2018
31_______________________________________________________31/01/2018
01_______________________________________________________01/02/2018
02_______________________________________________________02/02/2018
03_______________________________________________________03/02/2018
04_______________________________________________________04/02/2018
etc...
and now PBI automatically cut this fields showing only needed value:
It's not best/nice solution but it works :)
I am waiting for day I will be able to define my own date format, like "dd" :)
Regards.
Basically - in my data table I have only 1 column refere to date - formated as date:
I have separate DIM_Calendar with a lots of columns. Index Colum (id_Date) it's excel date formated as integer. So in excel columns ix_Date and Date have same values just different format.
In same table I have 2 columns - RANK and DAYNO. Rank is number, DayNo is text.
When I try sort DayNo by Rank I got obvious message:
So I created sub-Dim table called Days and there I set sortation I expect.
But this works only if I am inside ONE month. When I use weeks and I have split months in week it not works as I need.
Hi AdamBoltryk
As tested, i can sort the table by "date" column, This can be achieved in query editor. then you can create in index column.
For each visual which adds "date" column in, you can sort by "date".
However,when you only add "dayno" and "week" in a visual, it can't be sort correctly, Because there are more than one value in "date" for the same value in "dayno".
So your method is a workaround someway.
Best Regards
Maggie
- AdamBoltryk8 years agoResolver I
I just want share with all how I solve this "problem". I've been created new column with veeeeeeeeeeeeeery long input:
28_______________________________________________________28/01/2018
29_______________________________________________________29/01/2018
30_______________________________________________________30/01/2018
31_______________________________________________________31/01/2018
01_______________________________________________________01/02/2018
02_______________________________________________________02/02/2018
03_______________________________________________________03/02/2018
04_______________________________________________________04/02/2018
etc...
and now PBI automatically cut this fields showing only needed value:
It's not best/nice solution but it works :)
I am waiting for day I will be able to define my own date format, like "dd" :)
Regards.