Forum Discussion
XaviOV
Helper V
6 years agoFilter text 2 columns
Hi! I have a table with differents columns. I want to filter by data of column "Pregunta", for example "Fundidores" or "Filtro Emulgente", and with theese filter I want to save the data of the r...
- 6 years ago
XaviOV OK, the code I provided earlier seems like it is doing exactly what you are asking or else I am missing something. See attached PBIX file.
- 6 years ago
FilterColumn = VAR _id = SUMMARIZE ( FILTER ( 'Table', 'Table'[Pregunta] IN { "Fundidores", "Filtro Emulgente" } ), 'Table'[ID] ) VAR _result = IF ( 'Table'[ID] IN _id , "Show", "Hide" ) RETURN _resultThis should work.
Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 🙂
XaviOV
Helper V
6 years agoHi Greg_Deckler
Regards,
Xavi
Source data:
| ID | Pregunta | Pestaña | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | HP | Valores-HP | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Línea | DataKey1508409950520 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Nombre | DataKey1519315817647 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Hora | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Fundidores | Valores-fundidores | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Centrífuga | Valores-centrifuga | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Semana | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Trabajar fin de semana | DataKey1522249127825 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Fecha | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARVDBU | Año | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Filtro Agua | Filtro-agua | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Filtro Emulgente | Filtro-emulgente | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Línea | DataKey1508409950520 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Nombre | DataKey1519315817647 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Filtro Emulgente | DataKey1567402334544 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Limpieza completa Filtros Preparación | DataKey1517842778543 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Hora | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Semana | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Fecha | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUDGI | Año | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Foto | Foto-cortado | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Filtros GAF | Residuos | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Línea | DataKey1508409950520 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Nombre | DataKey1519315817647 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Selección tanque GAF | DataKey1522244698903 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Nivel tanque Lipsa | DataKey1543398759149 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Caudal bomba | Caudal | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Toneladas filtradas | Toneladas | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Foto | Foto-lateral | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Foto | Foto-boca | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | ¿Hay cambio de filtro? | DataKey1519313871619 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Filtros GAF | Observaciones | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Filtros GAF | GAF | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Hora | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Semana | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Fecha | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAARUCFJ | Año |
Output data:
|
Greg_Deckler
Community Champion
6 years agoXaviOV OK, the code I provided earlier seems like it is doing exactly what you are asking or else I am missing something. See attached PBIX file.