This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hey guys!
The goal of my visualisation is to get a slicer, that can filter my Python-visualisation of maxCurrentCutter and maxCurrentNormal. These two are columns in the table testDataCutter (screenshot below).
For now, I have created a new parameter with these two columns, called field_parameter. But I really don't know how to adapt my python code that it runs and filters as wished. Can sb help?
This is my code so far:
Solved! Go to Solution.
I think I found an appropriate solution.
In the Power Query Editor, you have to convert the two columns (maxCurrentCutter & maxCurrentNormal) in into a Unipivot Column. Than you can select between maxCurrentCutter & -Normal in a slicer which will also affect the python code.
The only problem with this method is, that the number of rows doubles, which can lead to performance issues on larger datasets.
Hope this helps somebody 🙂
from this...
to this ...
I think I found an appropriate solution.
In the Power Query Editor, you have to convert the two columns (maxCurrentCutter & maxCurrentNormal) in into a Unipivot Column. Than you can select between maxCurrentCutter & -Normal in a slicer which will also affect the python code.
The only problem with this method is, that the number of rows doubles, which can lead to performance issues on larger datasets.
Hope this helps somebody 🙂
from this...
to this ...
Hi @Anonymous ,
During my investigation I have found users in the past who have had similar experiences to you .
For original post, you may refer to
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Thanks for your message. I looked about these problems in the link but I think they had another problem to be solved.
My problem is, that maxCurrentCutter & -Normal are Column Headers. So I can not make a normal slicer because than, there would be Values like 4.256, ... and not maxCurrentCutter for example. But for this case Power BI implementated the New Parameter function, which creates a new Table that you can use for slicer and for the visualisation. But I don't know how to implement the field_parameter (screenshot) into my Code instead of using maxCurrentCutter and maxCurrentNormal.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 23 | |
| 18 |