Forum Discussion
COMPARATIVO CUSTO VENDEDOR X RENTABILIDADE
- 7 years ago
Hi h2danilo,
Try this formula as a measure, please.
Measure = SUMX ( SUMMARIZE ( 'BI_Venda', BI_Venda[Ano], BI_Venda[Cpf_Vendedor] ), CALCULATE ( MIN ( BI_Salario[Salario] ) * DISTINCTCOUNT ( BI_Venda[Mes] ) ) )
The "Cross filter direction" should be Both.
Best Regards,
Caro amigo brasileiro, sugiro você escrever em inglês! Aqui 99% das perguntas e respostas são feitas nesse idioma.
Hello fellow brazilian, i suggest you wrinting in english, because is the main language used in this community.
***
Em todo o caso, algumas dúvidas:
- Vc está usando EXCEL ou POWERBI? Se for o primeiro, sabe usar POWER PIVOT/ e DAX?
- Qual o resultado esperado, uma nova tabela "física" ? uma tabela como visual do PBI?
- Pode disponibilizar o dado no one drive? Fica mais fácil para "colar" as fórmulas
- h2danilo7 years agoHelper I
I'm Sorry my friend. I didn't know about default language!
Follows the example in MSSQL:
I would like to do it in Power BI. Salary of seller multiplied by amount of months that the seller had a sale
Best Regards