Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hello all,
i have datetime column and change it to date. when i use it in a slicer i see:
Monday 25.04.2022
Monday 25.04.2022
Monday 25.04.2022
three times the same date. It is because there are three different times following. How can i adjust that so that i see just one choice in the slicer?
thanks.
Solved! Go to Solution.
You need to change it in Power Query or in the data source. Change it in the model (data type / format) will keep the knowledge of the time in the cell even if you don't see it, so it's actually 3 differnet values
You need to change it in Power Query or in the data source. Change it in the model (data type / format) will keep the knowledge of the time in the cell even if you don't see it, so it's actually 3 differnet values
Okay that should it be 🙂 I created a new column with DATE(YEAR, MONTH, DAY). That also helped.
Sounds good 🙂
In case you also need the knowlegde of the time in your model, that's what you need to do. Even better to only keep the time in the datatime column to decrease it's cardinality and improve the size and performace. In case you don't care about the time than better of course to remove it before and not create another column, casue now you will have a redundent column with the time (which is actually a heavy cloumn becasue of it's granularity).
Any way, if we ae talking about small models, non of this really matters in practical 🙂
Where did you change it to date? In the format / date type in model / Power Query?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |