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

Column with the Wrong Values because of Missing Input

Hello all,

my problem is that I have a data set which is structured as follows.
I have an accounting group which combines several accounts. Sales or even costs arise on each account. The budget, on the other hand, is only created on the accounting group.
If I put a matrix table over this data set, the result fits on the basis of the Accounting Group. When I look at the drilldown at the account level, it takes the value that was formed for the account group because it has no values.
Without adjusting the budget data set and adding empty values for individual accounts, can I make it so that the drilldown does not contain incorrect values? See the Screenshot

 

T_JF2022_0-1679927463497.png

I've addet a Test Dataset:

Test Data - Google Drive 

 

Thanks for your help

KR JF

1 ACCEPTED SOLUTION

Amount at group grain = 
IF ( NOT ISINSCOPE ( Accounts[Account] ), SUM ( 'Budget'[Amount] ) )

View solution in original post

3 REPLIES 3
johnt75
Super User
Super User

You can use ISINSCOPE , e.g.

Amount at group grain =
IF ( NOT ISINSCOPE ( 'Table'[Account ID] ), SUM ( 'Table'[Amount] ) )

so that it will return blank if the report is at the account level but will return the correct value at group or total.

With a look into my TestData, can you explain me which tables I have to choose?

Amount at group grain = 
IF ( NOT ISINSCOPE ( Accounts[Account] ), SUM ( 'Budget'[Amount] ) )

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.