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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Table Column as Slicer

Hey guys!

 

As you can see on the screenshots below, I've created a scatter plot with maxCurrentCutter and maxCurrentNormal as values with python script, because I want the date on the x-axis.

 

Now I want to filter the plot after maxCurrentCutter and -Normal with a slicer (in python you can't just click on the legend becuase it is not interacitve so I have to do it with a slicer). 

 

But the problem is, 'maxCurrentCutter' & -Normal' are columns in the 'testDataCutter' table. This means that when I transfer these two column names to a slicer, all the values of the respective category (e. g. 6. 4, 3. 7,  . . . ) are on the slicer and not their names themselves.
 
Is there a way to create such a slicer? Or any other possiblity?
 

dominicghr_0-1712566586041.png

dominicghr_1-1712566626061.png

 

Best regards,

Dominic

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

Maybe you can try to use the Field parameter.

First of all, you should open the Field parameter in the Options > Preview features.

vzhengdxumsft_1-1712627097971.png

Then restart the power bi and you can use the field parameter in the Modeling pane .

vzhengdxumsft_2-1712627194753.png

 

Here's the link which can help you:

Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks @Anonymous, that helps but I do not know how to implement the field parameter in the python Code. But I hope I figure it out.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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