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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Group by day, week, month with slicer in Power BI

My report will display the data of everyday and i would like to make a slicer like this so that i can see the data monthly, daily, weekly,...

nhhoang3697_0-1661252224919.png

 

 

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

Hi @Anonymous ,

 

You can use the field parameters to switch the axis.

vcgaomsft_0-1661502313902.pngvcgaomsft_1-1661502339013.png

Please refer:

Let report readers use field parameters to change visuals

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

5 REPLIES 5
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can use the field parameters to switch the axis.

vcgaomsft_0-1661502313902.pngvcgaomsft_1-1661502339013.png

Please refer:

Let report readers use field parameters to change visuals

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Anonymous
Not applicable

hi, thanks for your support but did you encounter the problem such as when group by week the total may be higher than usual 

nhhoang3697_0-1662445253483.pngnhhoang3697_1-1662445305449.png

 

keshavagrawal27
Resolver I
Resolver I

Hi @Anonymous ,

You can create a date hierarchy and then use that date hierarchy in the slicer. It will give you the desired result.

 

If this helps you then please mark it as a solution and hit the thumbs up. Thanks.

Anonymous
Not applicable

But when i added date hierarchy in my slicer, it would show the date value (f.e: "8/23/2022") instead of "month", "day", "week"

Therefore you will need to create a custom date hierarchy by defining a relationship  between month, day and week columns 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.