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

Linked data tables - data not pulling

Hello,

 

I have two tables, one with actuals data and one with forecast data. I have created a table visualisation to show actuals and forecast by cost category. The cost category comes from the Actuals Table as this is where the hierarchy is maintained and the forecast data is linked via the following formula

 

Forecast_V1 =
CALCULATE(
-SUM(cognos_costcentre_forecast[value]),
TREATAS(
    VALUES(fusion_costcentre_actuals[GParentAccount]),
    cognos_costcentre_forecast[GParentAccount]))
 
where GParentAccount is the cost category.
 
The issue I have is if there isn't any data in the actuals for a particular cost category it doesn't pull the forecast data if that isn't blank. For example, we forecast £10k for postage but in actuals postage was £0, so both actuals and forecast is showing as blank. 
 
Is there a quick way to show forecast data even if the actuals data is blank, without having to change the structure of the table?
 
Thanks,
Louise

 

 

1 REPLY 1
lbendlin
Super User
Super User

use COALESCE for these situations.

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.