Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Good morning,
I need to create a column in the CUSTOMERS (WALLET) table.
This column will pull information from the PEDIDO_VENDA table (Date of the last quote made by the customer).
I can't relate the two tables because it generates ambiguity with another table (SELLERS).
Follow the formula below and screen prints:
Data da última cotação =
CALCULATE(
MAXX ( RELATEDTABLE ( PEDIDO_VENDA ), PEDIDO_VENDA[PV_DATA_PEDIDO] ),
PEDIDO_VENDA[PV_TIPO] = "COTAÇAO",
PEDIDO_VENDA[CFOP_CODIGO] = "5102" ||
PEDIDO_VENDA[CFOP_CODIGO] = "6102"
)
In the case below, it should pull the most recent date (09/09/2022), but the result comes out 03/02/2023
Based on the provided information, it seems like there may be an issue with the formula used to pull the information from the PEDIDO_VENDA table. Here are some steps you can try to troubleshoot the issue and get the correct date:
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |