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
stefanvermeulen
Frequent Visitor

Understanding summarizing order lines

Hello,

 

I am rather new to Power BI and I am missing something elementary. 

 

I have a table with a lot of order lines and several dimensions (date, region, item category, item characateristic 1, item characateristic 2, ..). I am sure the relations are OK. Each order line has an amount / value. I would like to use the slicer to select the order lines on their property and get the sum of all values with that specific slicer filter.

 

Here I am stuck: the total value at the bottom is fine and represents the value according my selection. However, in the table, on each line, the amount shown is not correct. Here it gives totals, not taking into account all amounts that are filtered.

 

Schermafbeelding 2025-04-02 084556.png

 

The bottom total is perfect. But the totals on each single line are not representing the slicer totals.

I am looking for the behavior that the column with the amount neatly adds up to the total.

I have learnt a lot reading this forum and made nice other calculations.. but did not solve my problem 🙂 

What am I missing here?

 

Stefan

1 ACCEPTED SOLUTION

I solved it. I'm stupid. I was so convinced all relations were OK, .. BUT there was a relation indicated as "not active". I simply clicked it, and it worked. I don't know why it was not active. 

View solution in original post

7 REPLIES 7
v-pnaroju-msft
Community Support
Community Support

Hi @stefanvermeulen,

We are delighted to know that your issue has been resolved. Kindly mark the response that resolved your query as the accepted solution. This will assist other community members facing similar challenges in finding solutions more efficiently.

Please continue to utilise the Fabric Community for any further assistance with your queries.

Thank you.

stefanvermeulen
Frequent Visitor

Sorry, I need to clarify better, and I really don't understand what you mean. 

 

Here's my table : 

 

Schermafbeelding 2025-04-02 084556.png

The bottom total is perfect. But the totals on each single line are not representing the slicer totals.

I am looking for the beahvior that the column neatly adds up to the total.

Can you share the data model view and the measure definition please


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

My fact table has :

DeliveryDate
Property 1
Property 2
Country
ProdCategory
CustomerNo
DeliveryMehod
ItemReferenceNo

+ SUM('salesOrderLines (advanced APIs)'[amount]))

 

Each column is directly related to its corresponding dimension table using a 1 to many relation.

 

I use the dimension tables for the filters.

I solved it. I'm stupid. I was so convinced all relations were OK, .. BUT there was a relation indicated as "not active". I simply clicked it, and it worked. I don't know why it was not active. 

Thought there might be relationship issues or measure unfiltering. Good to see solved


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Deku
Super User
Super User

Power BI is going to aggregate rows as much as possible. If you want to see individual lines, then the lines need to have all the fields that represent a unique row. This is most easily achieved if you have distinct key or index for each row that you include in your visual


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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.