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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.