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
DCELL
Helper III
Helper III

Aggregate from parent is blank when child is blank

I have a parent-child tables set up using this relationship, where the child table is missing a few records, but the parent is not missing any. CRM = parent, CPQ = child.

DCELL_4-1675355449535.png

 

In a table visual, I'm not able to show SUM( CRM[Esimated Value] ) for all rows as you can see below. Even though CRM[Estimated Value] is not missing any values, it is showing blank if the child record is blank:

DCELL_0-1675358956358.png

 

How can I obtain the result below? Although it is possible to join them in Power Query, which is how I got the result below for demonstration, I prefer not to do so.

DCELL_1-1675354252757.png

 

In addition to the problem above of the blank [CRM Value] values, I also don't understand why the table display changes when the column are in a different order.

When CRM.Quote Number is the first column, then the layout is like this:

DCELL_0-1675456741147.png

 

But when CPQ.Quote number is the first column, then the blanks disappear:

DCELL_1-1675456798538.png

 

 

 

1 ACCEPTED SOLUTION

Remove Quote Number CPQ from the visual.

 

lbendlin_0-1675640354698.png

 

Or use a CALCULATE function to get it back.

lbendlin_1-1675640752067.png

Here is some background on why this is happening.

AutoExist and Normalization - SQLBI

 

See attached.

View solution in original post

5 REPLIES 5
DCELL
Helper III
Helper III

@lbendlin this is the result:

DCELL_0-1675619811579.png

 

And the measure code is CRM Value = SUM( CRM[Estimated Value] )

Enable "Show items with no data"

@lbendlin commenting from my other account which allows file sharing. Here is the sample file I'm working from https://drive.google.com/file/d/1fVDAjM3h-zmrvgMV-odduNgBjg0kbgNh/view?usp=sharing.

 

When filtering direction is single from CRM->CPQ, then 'show items with no data' has no visual effect.

Remove Quote Number CPQ from the visual.

 

lbendlin_0-1675640354698.png

 

Or use a CALCULATE function to get it back.

lbendlin_1-1675640752067.png

Here is some background on why this is happening.

AutoExist and Normalization - SQLBI

 

See attached.

lbendlin
Super User
Super User

change the filter direction to single, from CRM to CPQ.  Show the code for the "CRM Value" measure.

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.