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
Anonymous
Not applicable

Date Type Issue while creating a column in Power BI

Hi All,

I am new to power BI.

 

I am trying to create a Simple IF statement logic below:
(IF [R_NO] = 1 THEN [Ageing (Delivery)] ELSE 0 END)

 

where R_NO column is of Whole Number type which has values from 1 to 70 and Delivery column also has values from 1 to 200 etc. 
why am i getting error as both the columns which I am referring are whole number data type.

Please help !

 

naveen121_0-1666339493644.png

 

1 ACCEPTED SOLUTION

HI, @Anonymous 

If your problem has been solved, you could accept the your answer as solution to close this thread.

Other community members will easily find the solution when they get the same issue.

Best Regards,
Community Support Team _ Eason

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi All,

I got the solution.

I should not use"1" as it is considering as text . I suppose to use R_NO=1

I tried and it worked. 

HI, @Anonymous 

If your problem has been solved, you could accept the your answer as solution to close this thread.

Other community members will easily find the solution when they get the same issue.

Best Regards,
Community Support Team _ Eason

 

Helpful resources

Announcements
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