Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola Comunidad,
Buenos días. Me gustaría buscar ayuda sobre cómo puedo filtrar una fecha específica hasta la última fecha por país. Tengo estas columnas: País y Fecha de origen. Necesito filtrar, por ejemplo, si país es Australia Necesito filtrar desde el 1 de octubre en adelante, luego si el país es India, Corea, SG, Vietnam, 1 de marzo en adelante, luego si otros países 1 de junio en adelante.
He buscado posibles respuestas pero no las encuentro. ¡TIA!
Su sintaxis no es del todo exacta, debe agregar una fórmula similar a esta:
= Table.SelectRows(#"Changed Type", each if [Country] = "Australia" then [Date Originated] >= #date(2021,10,1) else if List.Contains( {"Korea", "India", "Singapore" , "Vietanm" } , [Country]) then [Date Originated] >= #date(2022,3,1) else ([Date Originated] >= #date(2022,6,1)))
Puede ver en la tabla inferior que desea obtener los valores en verde:
Cuando aplicamos la fórmula anterior obtienes el resultado que necesitas:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |