March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have Timestamp in format of 13/12/2016 09:00:00. Timestamp in this format is needed for charts.
When I create list slicer with timestamp I get list in 13/12/2016 09:00:00 format.
What needs to be done so that list slicer is format in 13/12/2016 without clock time.
Solved! Go to Solution.
Hi @Anonymous,
Create a new column using the following formula, then change the data type of the new column to Date under Modeling ribbon and create a slicer using the new column. There is an example for your reference.
DateValue = DATE(YEAR(Table3[Timestamp]),MONTH(Table3[Timestamp]),DAY(Table3[Timestamp]))
Thanks,
Lydia Zhang
Hi @Anonymous,
You can create a new column using the following formula, then change the data type of the new column to Date under Modeling ribbon and create a slicer using the new column. There is an example for your reference.
DateColumn = TableName[Timestampcolumn]
Thanks,
Lydia Zhang
Thanks. I got slicer with format "13/12/2016". However this method just removed clock time this I got like 1000 of "13/12/2016" in slicer ist as there are 1000 rows on that day. How to make unique date slicer so that each date apper only once in the slicer list?
Hi @Anonymous,
You can create a new table using the following similar formula, change the data type of TimeStamp column in this new table to Date, then create a relationship between your table and the new table using TimeStamp column. In this way, drag TimeStamp column of your new table to slicer.
Table = DISTINCT(testsclier[DateKey])
Thanks,
Lydia Zhang
I create new table "DimDate = DISTINCT(myTable[Timestamp])"
I created relationship between DimDate and myTable with Many To One + Both.
I added slicer based on DimDate table and changed datatype as Date.
I still see multiple dates from same date thus date values are not distinct.
Hi @Anonymous,
Please help to post sample data of your TimeStamp column with which I can test in my Desktop.
Thanks,
Lydia Zhang
So I would need slicer, which have 3 values, "15/12/2016, 14/12/2016, 13/12/2016". Now I would see 6 values.
OutTable
PartitionKey, Customer, Timestamp
1234567890, Nissan, 15/12/2016 9:19.00
1234567890, Nissan, 15/12/2016 9:18.00
1234567890, Nissan, 15/12/2016 9:17.00
1234567890, Nissan, 14/12/2016 8:18.36
1234567890, Nissan, 13/12/2016 4:18.36
1234567890, Toyota, 13/12/2016 3:18.36
Hi @Anonymous,
Create a new column using the following formula, then change the data type of the new column to Date under Modeling ribbon and create a slicer using the new column. There is an example for your reference.
DateValue = DATE(YEAR(Table3[Timestamp]),MONTH(Table3[Timestamp]),DAY(Table3[Timestamp]))
Thanks,
Lydia Zhang
Date slicer looks visually good, but behaves very strange way. When selecting all Dates it shows correctly total number of rows and do the graphs very fine.
However when selecting certain date, it should only fraction of rows which means that most of data is filtered out. It behaves like date slicer slices with date with certain clock time. It should show all data from selected date.
Hi @Anonymous,
Since this thread has been closed and you have a different issue, please open another new thread to describe your problems with sample data and expected data.
Thanks,
Lydia Zhang
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |