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

Filter legends with slicer

I want to see each month on the x-axis when I filter lines on the graph using a slicer. The problem is that the data on the graph is continuous and I can't filter out categories with continuous data.

 

Screenshot (9).png

 

The only way I have been able to filter out each category is by formatting each month as continuous data and using that as the legend. It works, but it doesn't look right. I want to be able to use the slicer on the left with the graph on the right.

1 ACCEPTED SOLUTION

Yes, we can use CALENDARAUTO() function, the kind of relationship depends on your scenario, if it is one-to-many, then use one-to-many relationship, if it is many-to-many, then use many-to-many relationship.

View solution in original post

3 REPLIES 3
TeigeGao
Solution Sage
Solution Sage

Hi @Anonymous ,

>>I can't filter out categories with continuous data.

In this scenario, we can create another continuous data table and map to this table.

Best Regards,

Teige

Anonymous
Not applicable

Do you mean create another continuous data table based on month and create a relationship between those two tables? What kind of relationship?

Yes, we can use CALENDARAUTO() function, the kind of relationship depends on your scenario, if it is one-to-many, then use one-to-many relationship, if it is many-to-many, then use many-to-many relationship.

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.