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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.