Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Satch
Helper III
Helper III

(PBIX attached) why does invoiceamount not reflect actual when supplier is selected

https://drive.google.com/file/d/0B_7ViRmIIPNgSVBQRTdTZzIzZHM/view?usp=sharing

 

see pbix^

 

@Vvelarde  or someone else of course 🙂

 

When I select supplier du I get total invoiceamount of all invoices, and not only this supplier

when I select yuc I get exactly amount of yuc

 

Can somebody tell me why?

 

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @Satch,

Please use the [priceExcl] field in invoiceitem table, it will shows the correct result. 

1.PNG

When you use the [priceExcl] field in invoice table, it shows uncorrect result. Because the 'invoice' relates to 'Supplier' indirectly by unsure relationship. For example you select one value Supplier[id]->catelog[supplier.id]->variant[id], varint[product.resource.id] to filter invoiceitem by invoiceitem[product.resource.id], if you use filtered invoiceitem table effect invoice table. It can not be decided by the unigue value in 'Supplier' table.

Best Regards,
Angelia

View solution in original post

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @Satch,

Please use the [priceExcl] field in invoiceitem table, it will shows the correct result. 

1.PNG

When you use the [priceExcl] field in invoice table, it shows uncorrect result. Because the 'invoice' relates to 'Supplier' indirectly by unsure relationship. For example you select one value Supplier[id]->catelog[supplier.id]->variant[id], varint[product.resource.id] to filter invoiceitem by invoiceitem[product.resource.id], if you use filtered invoiceitem table effect invoice table. It can not be decided by the unigue value in 'Supplier' table.

Best Regards,
Angelia

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.