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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
gingersnap
Helper I
Helper I

Pivot using Date slicer/parameter

I have a pivot table I created using 2 fields. I would like to use a slicer so a date range can be requested. I dont know if this is possible since a date field is not part of the pivot. I am new to PowerBI so any help is welcomed. Thank you

15 REPLIES 15
Anonymous
Not applicable

Hi, @gingersnap 

Thanks for Kedar_Pande and parry2k's replies. What is your current data holdings, can you share your non-sensitive data and what you expect to achieve, if it can be in the form of a picture it will help us to better understand your needs. There may be other ways to realize your requirement.

Best Regards,
Yang

Community Support Team

Thank you for replying. It is solved. I will mark it as such. I do have another issue but I will post it separately

Anonymous
Not applicable

Hi, @gingersnap 

Very happy you were able to solve this problem, what is your current solution? You can share it and accept it as a solution to enable people with similar problems to find it faster. Thanks for your understanding.

 

Best Regards,
Yang

Community Support Team

Kedar_Pande
Super User
Super User

@gingersnap 

  1. Ensure the date column is present in the data you used to create the pivot. You don’t need to display it in the pivot table, but it needs to be part of the dataset.
  2. Go to Visualizations, choose Slicer, and drag your date field into it.
    This will create a slicer visual that allows you to filter based on a date range.

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

 

Thank you for replying. Unfortunately it is not part of the pivot. Thats my issue. 

Is there anyway around this? Do I just need to create a separate report and use a parameter? Since I am creating a pivot, I cant use a direct query, so I am not sure how to use a paramter.

parry2k
Super User
Super User

@gingersnap cannot download, it is saying access is denied.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Good morning. Any luck? If not please do not spend anymore time on it. I have another issue I am going to post. Thank you VERY much for your willingness to help.

I dont know how to unlock it.

parry2k
Super User
Super User

@gingersnap It will be easier if you share pbix file using one drive/google drive with the expected output. Remove any sensitive information before sharing.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I just changed the access. Please try again

https://drive.google.com/file/d/1hQLbA2DQXswVEAem_s32Cz6ZPJ4vRZJv/view?usp=drive_link

The data is from a test database. Page 2 has what the final pivot should be. I very much appreciate your help.

parry2k
Super User
Super User

@gingersnap Yes keep the date in the table, create a pivot without the date column, and use the date for filter.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

gingersnap
Helper I
Helper I

Thank you so much for the quick reply. 

I remove columns, including the date column, before I create the pivot. Can I leave the date field in, create the pivot? Can I create a pivot once I get to the report/visual area?

Since I am new, I dont know how to keep the date in the table but out of the pivot. Can you explain how I can do this?

parry2k
Super User
Super User

@gingersnap If you have a date column in your model that you wish to slice on, it doesn't need to be on the visual. It all depends on how your model is created, and what kind of relationship have between tables.

 

in the end, the column you want to slice on doesn't need to be part of the visual.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.