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.
Tenho uma tabela que preciso obter as informações referentes ao último pedido de cada fornecedor.
Estou utilizando a fórmula abaixo, porém quando coloco as colunas [Grupo de compradores] e [Usuário] no relatório, ele está trazendo as informações do último pedido de cada grupo de compradores e usuário, preciso que seja somente referência ao último pedido que teve aquele fornecedor.
TESTE 3 =
CALCULAR (
MAX ( FAT_PEDIDO_SAP2[DATA_PEDIDO] ),
FILTER ( FAT_PEDIDO_SAP2 , FAT_PEDIDO_SAP2[DATA_PEDIDO] = LASTDATE ( ALLSELECTED ( FAT_PEDIDO_SAP2[DATA_PEDIDO] ) ),
ALLEXCEPT (FAT_PEDIDO_SAP2,FAT_PEDIDO_SAP2[GRUPO_COMPRADORES],FAT_PEDIDO_SAP2[USUARIO_CRIACAO], FAT_PEDIDO_SAP2[BP FORNECEDOR],FAT_PEDIDO_SAP2[NOME FORNECEDOR])
)
Solved! Go to Solution.
@Greg5 , refer if these two approaches can help
Latest
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0
you can also use measure as visual level filter
@Greg5 , refer if these two approaches can help
Latest
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0
you can also use measure as visual level filter
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |