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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SevsBo
Resolver III
Resolver III

Table found and not found in the same measure, if variables used?

I have a table created within the Power BI report, called "Ultimate_Calendar" that is linked with bidirectional relationship to table "Main_Data". "Main_Data" comes from a live connection to a semantic model.


I am building a measure using time intelligence, and the first part works perfectly fine, but when I try to build a condition using an IF statement, Ultimate Calendar is no longer found.

 

What am I doing wrong?

 

SevsBo_0-1750685044521.png

 

1 ACCEPTED SOLUTION
Demert
Resolver III
Resolver III

Hi @SevsBo ,

 

In an IF statement you can't just call the table name and column to check if the statement is true or not. Try using max,selectedvalue,min,... instead to call the table and column. 

View solution in original post

1 REPLY 1
Demert
Resolver III
Resolver III

Hi @SevsBo ,

 

In an IF statement you can't just call the table name and column to check if the statement is true or not. Try using max,selectedvalue,min,... instead to call the table and column. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors