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
Anonymous
Not applicable

Calculated table values are different with report table

Hi - I'm trying to count the negative values under [MSU Per Week Gap vs Target], but I'm unable to due to some conditions that I have no clue about.

 

I've done some troubleshooting and stumbled upon this - different results of [MSU Per Week Gap vs Target]

 

Report table:

crisostomorc_0-1674770516801.png

 

Calculated table:

crisostomorc_1-1674770734661.png

 

The other columns is the reference surrounding [MSU Per Week Gap vs Target]

 

The syntax for [MSU Per Week Gap vs Target] = 

[MSU Per Week Gap vs Target] = SWITCH(
                TRUE(),
                [Forecast (MSU)]<= 0,0,[Inventory (MSU)] - [BU Target Inventory (MSU)])

 

Hoping an expert could reach me via MS Teams or anything so I could discuss in detail

 

1 REPLY 1
wdx223_Daniel
Super User
Super User

try to remove all the added columns in the SUMMARIZE, and add them by ADDCOLUMNS

calcultetable(addcolumns(summarize(),"x",...,"y",....),....)

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.

Top Solution Authors