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

Data view - date display formats

$
0
0

I seem to be running into a problem I was previously having here:

https://community.powerbi.com/t5/Desktop/Default-sort-column-of-table-in-report/td-p/63901

 

I thought I had it solved there but I just noticed my dates are not sorting correctly again so perhaps I'll start a new thread as my structure has changed a little from when I started that thread. 

 

What I have:

 

Working in the DATA view:

I have a column (generated from the query) with Date/Time:
2016-09-16 10_06_57-Experiment5a - Power BI Desktop.png  and formatted as Date/Time 2016-09-16 10_08_21-Experiment5a - Power BI Desktop.png

 

What I want in my table - in order to display in a report is a date pre-appended with the three letter day abbriviation. So, I created a new column called DayDateTime: DayDateTime = FORMAT([DateTime], "ddd DD/MM/YYYY hh:mm") but this seems to conflict with the display format - I can display it as Text but then it does not sort correctly.

 

I cannot convert it to date format because I don't seem to have the option to specify my custom format "DDD DD/MM/YYYY hh:mm" nor is that format supplied as a selection in the list. This is what I get:

2016-09-16 10_15_50-Experiment5a - Power BI Desktop.png

Am I stymied? Can I not have the day preappended to the date? I thought I had acheived that as per my thread referenced at the top of this post but it seems I had not after all. 

 

Thanks in advance for help/advice.
Karl


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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