The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello, how can I filter the data and display all that contain an "X" and write the data in a new Table
Regards Stefan
Solved! Go to Solution.
There are various methods.
Try this methods ...
In Power Query select the Check ID , Status and Bereich column
Then Transform > Unpivot > Unpivot Other columns
Then filter the rows that have "X"
Learn how here
https://learn.microsoft.com/en-us/power-query/unpivot-column
Hi @stefantaust
The solutions provided by above are both valid and should help you achieve the result:
I’d suggest giving these methods a try. If you still face any issues or need help adjusting them to your exact setup, feel free to post back and we’ll be happy to support further.
Best regards,
Akhil
You could use a measure
Row has X =
// create a temp table of rows that have X is any of the 3 columns
var temptable =
FILTER('Table', 'Table'[Col1] = "X" || 'Table'[Col2] = "X" || 'Table'[Col3] = "X")
RETURN
// then return TRUE if the corresponding row has an item
NOT(ISEMPTY(myset))
//Then on your viual filter rows that are TRUE
There are various methods.
Try this methods ...
In Power Query select the Check ID , Status and Bereich column
Then Transform > Unpivot > Unpivot Other columns
Then filter the rows that have "X"
Learn how here
https://learn.microsoft.com/en-us/power-query/unpivot-column