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 Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors