Forum Discussion
lfregnani
8 years agoNew Member
Contando resultados filtrados
Boa noite, Tenho uma Tabela em MySQL e estou tentando contar o número de resultados filtrados na consulta! o esquema do banco é: +--------+------------------------+------------------------+-...
v-jiascu-msft
Microsoft Employee
8 years agoHi lfregnani.
Da tradução do Google:
Você pode compartilhar a fórmula completa do DAX? A fórmula da peça que você postou parece boa. Se você puder compartilhar o arquivo inteiro, isso seria ótimo.
Por que não usar o slicer para filtrar?
Can you share the complete DAX formula? The part formula you posted seems good. If you can share the whole file, that's would be great.
Why not using the slicer to filter?
Best Regards,
Dale
lfregnani
8 years agoNew Member
Here is my file .
The formula works with dax studio, where I need to count the records containing the values 2, 3 and 10 of the column ticket_state_id
- v-jiascu-msft8 years ago
Microsoft Employee
Hi lfregnani,
I wonder if the measure below can give the result you want.
Measure = CALCULATE ( COUNT ( ticket[ticket_state_id] ), ticket[ticket_state_id] IN { 2, 3, 10 } )Best Regards,
Dale