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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Measure - Showing values (or not) depending on if in current month

Hello Community  - 

I am getting an error message in my measure below saying that my true/false statement does not specify a column.  But it does, I think?    Need help on getting a measure to work based on this:  

 

The goal of this formula is to use the VAR measures below in a table.    Our NetRevenueFinal would be the official number after accounting closes the month...at that point nothing else should show up in that month's column.   The other months would show booked orders (ERP), and our forecasted amounts for those months.  But would not show NetRevenueFinal  (since we don't know what that is yet).    So, I have a true/false column in my date table that says if the month is completed, true, otherwise false.   Well, January is completed, so the table below is basically what I am trying to achieve with my measure below.  

 

Measure ValueJanFeb
NetRevenueFinal10,000 
ERP 25,000
Total Forecast 10,000

 

Revenue Table_Graph =
VAR _ERP = [Order Value]
VAR _TotalForecast = [50% Prob Total] + [60 70 80% Prob Total]
VAR _NetRevenueFinal = [Sum of Net Revenue]

RETURN
CALCULATE([Sum of Net Revenue],'Dim_Date Table'[MonthCompleted] = TRUE(),_NetRevenueFinal,_erp + _TotalForecast
)
4 REPLIES 4
v-janeyg-msft
Community Support
Community Support

Hello @Anonymous 

 

Any updates? Do you still need help?

Anonymous
Not applicable

@lbendlin   I tried that before, but the issue I'm having is that intellisense won't allow me to use 'Dim_Date Table'[MonthCompleted]  in the formula  

Hi, @Anonymous 

 

So [MonthCompleted] is a measure not column? Can you share some sample data and your measures? We need more details to see how to modify.

 

Janey

lbendlin
Super User
Super User

You probably need something like 

 

Revenue Table_Graph =
VAR _ERP = [Order Value]
VAR _TotalForecast = [50% Prob Total] + [60 70 80% Prob Total]
VAR _NetRevenueFinal = [Sum of Net Revenue]
RETURN

IF('Dim_Date Table'[MonthCompleted],_NetRevenueFinal,_erp + _TotalForecast)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors