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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Gandalf12345
Frequent Visitor

Matrix Visual Omitting Values on Expand

Dear Community,

haven't posted anythnig till now, yet but your posts have already helped me a lot.

No I have something that I cannot find an answer for.

I try to build a matrix visual Showin the number of production Tasks and the Offer Value for the following hierarchy

Order Manager (OM-X)

Production Task (3 Digit)

Machine (on which production task is rendered, TP 2 digit)

OfferNumber

So what you see is that OM-P1 has a total of 3 Tasks with offer value of 203 and OM-P2 has 1 Task with Task number 110 and Machine 10 but no offers. That is correct so far.

Gandalf12345_2-1710639068588.png

If I now click on one of the red highlighted expand buttons, the matrix visual immediately changes and ommits OM-P2 and Task 112 for OM-P1.

Gandalf12345_3-1710639126187.png

I assume this has to do with the fact that 112 and 110 do not have an offer.

But why does the visual behave like that and how can I change it so that it does not ommit the lines? I mean the Totals are correct but they do not match the sum of the individual lines (for #Tasks). That does not seem to make sense.

 

Thank you and kind regards

Gandalf12345

2 REPLIES 2
danextian
Super User
Super User

Hi @Gandalf12345

What does the measure in your visual do? If it counts the distinct values of something then the total many not match the  sum of individual rows as the distinct count is evaluated for each unique item in a column while for total it is for the whole of the column.  In the illustration below, you'll see that for A, B and C  each has 1 unique item while  D has 2.  3 x 1 + 2  = 5 but as whole there's are only three unique items.

danextian_0-1710646080333.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi danextian,

thanks for jumping in.

The visual has

  • a normal count (not a distinct count) on the "Worktask" calculated column (with the "Worktask" column containing unique values only) and
  • a Sum on the Offer Value which is in a separate table that holds all offers and is connected 1:n via the Worktask ID.

The Model looks like that:

Gandalf12345_0-1710666201163.png

 

I have seen that in my lazyness I used implicit measures, which may form part of the problem, as well, because it disappears if I use an explicit measure using sum.

However, then, I get a completely flawed matrix on the # of Worktasks

Gandalf12345_1-1710666404103.png

Can you kindly shed some light what am I doing wrong and especially

1. why is the visual behaving so stange with implicit values and

2. what might be the problem with the explicit measure?

 

Best regards,

Gandalf12345

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors