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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Power Query Editor

Hi,

 

I have a column in a table with 10 lakh rows. the given scenario is using conditional column i need to bring whetehr the given numbers is odd or even. Kindly help me how to do this.

 

I am a beginner in Power BI. Hence posting such a question.

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous ,

In power query you can have a new column

= if Number.IsOdd([column]) then "Odd" else "Even"

 

in DAX, a new column


if(isodd([Column1]), "Odd", "Even")

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.