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
depple
Helper III
Helper III

Group slicer

Hi,

 

Power BI newbie here, and I am struggling with coming up with ideas on how to solve a issue.

 

I have a slicer with weeks in my dataset. As the usage of this slicer is relatively constant, with selections equivalent to "4 latest periods", "2018" and "2017" etc., it si quite cumbersome to manually select the involved periods. How can I create a new slicer, where the options are typical selections like mentioned above?

 

Slicer.PNG

 

 

/depple

2 ACCEPTED SOLUTIONS
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @depple,

 

If I understand your requirement correctly that you want to create a slicer with the options 4 latest periods", "2018" and "2017" etc?

 

If it is, I think you could group the weeks by dax fomula and then create the custom visual hierarchy Slicer.

 

hierarchy slicer.PNG

If you still need help, please share your data sample and your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
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

Thank you for your suggestion. Today I discovered that it was easier to program the grouping in the data export setup, so I won't have to do it in Power BI.

 

/depple

 

View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @depple,

 

If I understand your requirement correctly that you want to create a slicer with the options 4 latest periods", "2018" and "2017" etc?

 

If it is, I think you could group the weeks by dax fomula and then create the custom visual hierarchy Slicer.

 

hierarchy slicer.PNG

If you still need help, please share your data sample and your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your suggestion. Today I discovered that it was easier to program the grouping in the data export setup, so I won't have to do it in Power BI.

 

/depple

 

Hi @depple ,

 

If you have solved your problem, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.


Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

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.