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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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