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
powerbicanada
New Member

I want to have a slicer to select one field at a time for the following data.

I want to have a slicer to select one CATEGORY field at a time for the following data. Field Parameteres is not working for this data.

I need to have MONTH on X-AXIS and any of the CATEGORY on Y-AXIS.SLICER.PNG

 

 

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@powerbicanada ,

I would tackle this in the following manner:

1. Use Power Query to "Unpivot" your Table.  This will give the following:

Month CategoryX Value
APRIL Category1 3.819
APRIL Category2 3.906
APRIL Category3 11.193

 

Then create your Line or Column Chart with Month on the X-Axis, Value on the Y-Axis and CategoryX as your legend.

Create a Slicer visual using Category X.  Then you can use the Single Select to force the User to only select one Category at a time.

I believe this would be the easiest way to accomplish what you are looking for.

Regards,

 

View solution in original post

3 REPLIES 3
rsbin
Super User
Super User

@powerbicanada ,

I would tackle this in the following manner:

1. Use Power Query to "Unpivot" your Table.  This will give the following:

Month CategoryX Value
APRIL Category1 3.819
APRIL Category2 3.906
APRIL Category3 11.193

 

Then create your Line or Column Chart with Month on the X-Axis, Value on the Y-Axis and CategoryX as your legend.

Create a Slicer visual using Category X.  Then you can use the Single Select to force the User to only select one Category at a time.

I believe this would be the easiest way to accomplish what you are looking for.

Regards,

 

Thank you

Big big big Thanks, Sir. 

 

Respect and Regards

🙂

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.