Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
Larry_Wang
Helper I
Helper I

Data view error in Slicer

Hi Every one,

 

Happy new year!

I am using a Slicer in my report but there is something wrong with it. It seems that slicer is using Day value for Month value. See picture below for details. Actually all data is for January but in slicer it is wrong.

 

Larry_Wang_0-1610952225416.png     

Larry_Wang_1-1610952291463.png

I already set the data format to d/m/yyyy. See picture below for details. Can any one know how to solve this issue?

Larry_Wang_2-1610952388362.png

 

Thanks,

 

Larry

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi, @Larry_Wang 

Have you enabled time intelligence? If you enable Time intelligence, it will create a hierarchy for the calendar year. So you will get all months of this calendar year in this Date Hierarchy and every month will be listed in the Slicer. If you want to remove months except January. You can Exclude other months.

 

Select those months and Exclude them.

v-cazheng-msft_0-1611120672696.png

 

 

Then, only January will be listed in the Slicer. The result looks like this:

v-cazheng-msft_1-1611120672696.png

 

For more details about Time intelligence, you can refer Automatic time intelligence in Power BI.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

12 REPLIES 12
v-cazheng-msft
Community Support
Community Support

Hi, @Larry_Wang 

Have you enabled time intelligence? If you enable Time intelligence, it will create a hierarchy for the calendar year. So you will get all months of this calendar year in this Date Hierarchy and every month will be listed in the Slicer. If you want to remove months except January. You can Exclude other months.

 

Select those months and Exclude them.

v-cazheng-msft_0-1611120672696.png

 

 

Then, only January will be listed in the Slicer. The result looks like this:

v-cazheng-msft_1-1611120672696.png

 

For more details about Time intelligence, you can refer Automatic time intelligence in Power BI.

 

Best Regards,

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @v-cazheng-msft ,

 

I enabled time intelligence and the problem is all the date is for January, there is no date for other months. But the Slicer identifies 11/1/2021 as November. I don't know how to let Slicer use "1" as month, not use "11".

 

Thanks,

 

Larry

Hi, @Larry_Wang 

You can try to regulate the way of identifying date type data by the following steps in Power Query Editor. Then you can set date format to “mmmm d, yyyy” to check it.

v-cazheng-msft_2-1611123097492.png

 

 

v-cazheng-msft_3-1611123097493.png

 

 

Best Regards,

Caiyun Zheng

Hi @v-cazheng-msft ,

 

I tried to set the date format in Query Editor as what you showed in your last reply, and it still doesn't work. I also tried to change the Date&Time settings on my computer, it has no help to solve this issue.

 

Larry_Wang_0-1611124651954.pngLarry_Wang_1-1611124740888.png

 

@Larry_Wang 

As I've mentioned in my first reply. After enabling Time intelligence, it will create a date hierarchy(Year, Quarter, Month, Day) for the entire calendar year(such as 2021). So you will get all months of this calendar year in Month and every month will be listed in the Slicer. If you want to remove months except January. You can try to  Exclude other months.

 

Best Regards,

Caiyun Zheng

Hi @v-cazheng-msft ,

 

Thanks for the help on this issue. It works now for me. 

 

Have a nice day!

 

Larry

amitchandak
Super User
Super User

@Larry_Wang , Right click on the field in visual pane and choose Date.

Date.png

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi @amitchandak ,

 

Thank you for your reply on this. I tried that but still the same. My data format is like 12/2/2021 but when using slicer it is using number 12 as month value. Really strange and I also tried to change my system settings for data & time, but can not solve the issue.

@Larry_Wang ,have you cross (when the hierarchy was showing) Year, Qtr, Day in the date in Visual pane.

 

Can you share some screenshots.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi @amitchandak ,

 

I tried to upload a test data but it seems it is not  supported to upload csv and power bi file here😂

@Larry_Wang , you can copy paste from excel or power BI.

 

Or upload file on dropbox or one driver and share link

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi @amitchandak ,

 

unfortunately I can only upload a picture of the data source here

 

Larry_Wang_0-1610959733551.png

 

Larry_Wang_1-1610959859215.png

In the bar chart everything is ok (Only January), but in the slicer we can see many other month names listed.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.