cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EZV12
Helper III
Helper III

Data for each Item & its corresopondant Customer - DAX formula or other solutions?

Dear all,

I would like to display the quantity for each item/customer, but the report gives me the total sum of quantity. How to figure it out?

Please note that I need link the quantity to each Item & its correspondant Customer (so 2 conditions at the same time).

 

Here is the link of a sample pbix file and a picture to show you more details:

https://1drv.ms/u/s!AnbNXrfr-X8jduITO752HHE1mOE?e=9IW0Ls 

EZV12_1-1621354170063.png

 

Thanks and best regards

Rachel

1 ACCEPTED SOLUTION
selimovd
Community Champion
Community Champion

Hey @EZV12 ,

 

the reason is the data model.

You are using the columns from the table 'Customer Remarks'. That table is on the many side in a unideirectional one to many relationship.

This means when you use columns from that table it cannot filter other tables. Actually only the two tables ITEM and Customers can filter the table 'Customer Remarks', but 'Customer Remarks' cannot filter other tables, it's a dead end:

selimovd_0-1621365860875.png

 

If you change that in your table and use the columns from the table 'Customers', it can filter the tables Sales and 'Firm Order':

selimovd_1-1621366058610.png

 

So use the column from the table Customers and you will see numbers:

customer.gif

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

4 REPLIES 4
selimovd
Community Champion
Community Champion

Hey @EZV12 ,

 

the reason is the data model.

You are using the columns from the table 'Customer Remarks'. That table is on the many side in a unideirectional one to many relationship.

This means when you use columns from that table it cannot filter other tables. Actually only the two tables ITEM and Customers can filter the table 'Customer Remarks', but 'Customer Remarks' cannot filter other tables, it's a dead end:

selimovd_0-1621365860875.png

 

If you change that in your table and use the columns from the table 'Customers', it can filter the tables Sales and 'Firm Order':

selimovd_1-1621366058610.png

 

So use the column from the table Customers and you will see numbers:

customer.gif

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

Dear Denis,

Wonderful! It works!

Many thanks for your help!

Best regards

Rachel

dkaushik
Resolver II
Resolver II

Hi @EZV12 ,

 

Switch to use a Matrix visual from current table visual. Use the cutomer under row headers and values under values section.

 

Thanks,

Dheeraj

Thanks for your reply, however, it doesn't work.

Regards

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors