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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
v-zhengdxu-msft
Community Support
Community Support

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 @v-zhengdxu-msft, 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.