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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Data table with two keys

I have a data set of material consumption. The table has both which material is consumed aka "Material" and where it is consumed "Order".

 

For modeling Material is made the key field. However for one specific purpose I.e. showing consumption chart of material, need to sum Quantities by Order and not material field.

 

Pls note in most pages of my report, slicer of Material exist, hence I am finding it very difficult to sum quantities by Order.

 

Anyhelp would be appreciated.

3 REPLIES 3
Anonymous
Not applicable

Let me repharase the situation of my model a bit. I have this matrix situation and slicer is set for product/ material, so it is filtering what materials are used for production of each product. i need to change filter context for one visual so it shows me products to product consumption. 

Shanze_0-1679687617626.png

 

meenakp
Resolver I
Resolver I

@Anonymous, It appears you should use measure with ALL. this would ignore defined filters - in your case material filter..

https://learn.microsoft.com/en-us/dax/all-function-dax

 

Anonymous
Not applicable

I did, but then it doesn't sum up quantities at all.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.