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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
harirao
Post Prodigy
Post Prodigy

Creating Slicers for Monthly & Quarterly Data

Hi All,

I have two datasets—one with monthly data and another with quarterly data.
Currently, the months are organized in columns, making it difficult to create a slicer for Month. Similarly, for the quarterly data, each quarter is in a separate column, preventing the creation of a slicer for Quarter.


I have attached a sample data link for your reference.
https://drive.google.com/file/d/1V6RH0cJPYkhg8dqV8w1hHwrya06gWNgm/view?usp=sharing


Could you please check and assist me in resolving this issue?


Thank you.

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@harirao , To create slicer first you need to Unpivot the data in Power Query

 

1. Load your data into Power BI.
2. Click on "Transform Data" to open Power Query Editor.
3. Select the columns that you want to unpivot (e.g., Jan, Feb, Mar for monthly data).
4. Right-click on the selected columns and choose "Unpivot Columns".
5. Rename the new columns as needed (e.g., "Month" and "Value").
6. Close and apply the changes.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi @harirao,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @harirao,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @harirao,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.


Regards,
Vinay Pabbu

harirao
Post Prodigy
Post Prodigy

Hi Team,

 

Could you please assist me with the request posted above?

 

Thanks!

Hi,

Unpivoting is the way to go.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
harirao
Post Prodigy
Post Prodigy

@bhanu_gautam 

Thank you for your response.


I tried this option, and once the data is unpivoted, Attribute and Value columns are created. However, I want to maintain the table format as it is from the source while also having a slicer for Month and Quarter, respectively.


Could you suggest a way to achieve this?


Thanks!

bhanu_gautam
Super User
Super User

@harirao , To create slicer first you need to Unpivot the data in Power Query

 

1. Load your data into Power BI.
2. Click on "Transform Data" to open Power Query Editor.
3. Select the columns that you want to unpivot (e.g., Jan, Feb, Mar for monthly data).
4. Right-click on the selected columns and choose "Unpivot Columns".
5. Rename the new columns as needed (e.g., "Month" and "Value").
6. Close and apply the changes.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.