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
Anonymous
Not applicable

Using a Slicer to choose date groupings (group by day, week, month, year etc)?

Hey all, Apologies if this has been asked before (I can't seem to find a solution). I'm trying to use a slicer to give the user the ability to select whether the x-axis (date) of a line chart is day/week/moth/year. I understand that this is possible with drill through and a date hierarchy however I'm wanting to have the ability to select this date view type and have it affect all visualizations on the page (I don't believe you can have drill through sync with various visuals). My dataset has columns for each of the groups I require however I cannot find a way to dynamically set these columns for the axis. Has any one found a way around this?

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

Hi @Anonymous,

 

I think following links will suitable for your requirement, please take a look on them if it helps:

Dynamic Category Using a Slicer

Dynamic Attributes In A Power BI Report

 

If above not suitable for your requirement, please share some sample data and expected result.

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

 

I think following links will suitable for your requirement, please take a look on them if it helps:

Dynamic Category Using a Slicer

Dynamic Attributes In A Power BI Report

 

If above not suitable for your requirement, please share some sample data and expected result.

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Amazing!

Thanks for this, it has solved my problem (and a few other things I've been having issues with!)

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.