selectcolumns table filtering
1 TopicPower BI table criation with multi-filter format
Hello, I have generated the table below by extracting columns from a main table using the 'selectcolumns' function, applying an initial filter based on a 'date' column. However, in addition to this filter, I would like to further refine the table by selecting the '"Estado", BASE[Estado (Proposta)] column with two specific data types: "Em Elaboração" and "Aguarda GO/NOGO." Additionally, I want to sort the table in ascending order based on the 'BASE'[FALTA(número de dias)] column (from smaller to larger). The DAX applied: Propostas a Enviar = SELECTCOLUMNS(FILTER(BASE,'BASE'[DATA PREVISTA DE ENTREGA].[Date] >= TODAY() && 'BASE'[DATA PREVISTA DE ENTREGA].[Date] < TODAY() + 8), "Oportunidade", BASE[OPORTUNIDADE], "Data Criação", FORMAT(BASE[Criada Em], "dd-MM-yyyy"), "Cliente", BASE[Nome único de cliente], "Descrição", BASE[Descrição única do projeto],"Tipo", BASE[Tipo Concurso], "Setor", BASE[Setor Único Atividade ], "Valor", FORMAT(DIVIDE(BASE[VALOR BASE OU ESTIMADO], 1000), "0.0K"), "Data Entrega", FORMAT(BASE[DATA PREVISTA DE ENTREGA], "dd-MM-yyyy"), "Hora", BASE[HORA PREVISTA DE ENTREGA], "Prazo", BASE[FALTA(número de dias)], "Estado", BASE[Estado (Proposta)], "Responsável", BASE[Responsável pela Proposta], "Orçamentista", BASE[Responsável pelo Orçamento] ) Someone can help me to sort it out? Many Thanks T325Views0likes1Comment