Forum Discussion
Python Slicer with New Parameter
- Anonymous2 years ago
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 ...