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

View all the Fabric Data Days sessions on demand. View schedule

Reply
osama_ayoub
Helper III
Helper III

create conditional column where value exist between 2 whole number

how can I create conditional column based on column Division where if the value between 0 and 1 put value 1 and if the value between 2 and 3 put value 3 and so on ?

osama_ayoub_0-1674691930397.png

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Custom",each Number.RoundUp([Division]))

View solution in original post

1 REPLY 1
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Custom",each Number.RoundUp([Division]))

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.