cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KN_HEALT47
New Member

Repeating numbers in drill down when lower level of data not available

KN_HEALT47_0-1617827680037.png

I am trying to compare actual invoices to budgeted amounts. I have the invoice data available at a very transactional level whereas we budget at a more aggregate level. I would like to know if there is a way to still be able to see the invoice amounts contributing to the "amount" column but not have the budgeted amount repeat for every line of the invoice? You can see that 208.33 repeats everytime there is a professional service invoice.   Preferably it would be blank except for the subtotal.

1 ACCEPTED SOLUTION
jdbuchanan71
Super User II
Super User II

@KN_HEALT47 

What is the table and field name where the item '2694960' is sitting?  Basically, what it the field name that holds the lowest level of detail you are showing in your visual?  I am going to make it up and call it 'Transaction Table'[Invoice Header].
In your budget measure you can use ISINSCOPE to check if you are at too low a level and return blank.
If your original budget measure is like this.

 

Budget = SUM ( 'Budget Table'[Budget Amount] )

 

Your new measure would be like this.

 

Budget =
IF (
    ISINSCOPE ( 'Transaction Table'[Invoice Header] ),
    BLANK (),
    SUM ( 'Budget Table'[Budget Amount] )
)

 

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User II
Super User II

@KN_HEALT47 

What is the table and field name where the item '2694960' is sitting?  Basically, what it the field name that holds the lowest level of detail you are showing in your visual?  I am going to make it up and call it 'Transaction Table'[Invoice Header].
In your budget measure you can use ISINSCOPE to check if you are at too low a level and return blank.
If your original budget measure is like this.

 

Budget = SUM ( 'Budget Table'[Budget Amount] )

 

Your new measure would be like this.

 

Budget =
IF (
    ISINSCOPE ( 'Transaction Table'[Invoice Header] ),
    BLANK (),
    SUM ( 'Budget Table'[Budget Amount] )
)

 

 

View solution in original post

Thank you! That worked perfectly. The budget amount was a field from a query so I just created a measure to capture the If(ISINSCOPE()) Function.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors