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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
EZV12
Helper IV
Helper IV

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
Super User
Super User

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
Super User
Super User

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
 

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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