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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Error with AND Statement

Hi All,

 

I have this Calculated Column:

error.png

 

But I got this error message:

error2.png

 

The thing is that those two tables have relationship between.

 

Any suggestions?

Thanks

4 REPLIES 4
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?


Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you please share the relationship between the three tables if it does not contain any confidential information? If the 'BurnUpPointsData' Table have a "one to Many" relationship with other table, we cannot use Related to get the value, because related can only get one value but there maybe many possible value in "one to Many" relationship , we need to chang the formula using other function based on particular condition.

 

3.jpg4.jpg5.jpg


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

Looks like the Sprintdata table is not related(no relationship defined) to the table where you are trying to create the new column. 

 

I would also recommend you to use variables to get the RELATED values and use them in the IF statement.

 

 

Connect on LinkedIn
amitchandak
Super User
Super User

What are you trying to achieve?  Please provide more details

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors