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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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