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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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