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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.