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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

Multiple if conditions

Hi 

I have a requirement that, if the value of Agieng(count in days) below 15 then  i have to give the ageing bucket(new column) as 0-15, if the value greater than 15 and less than or equal to 30 then 16-30 and if the value greater than 30 i have to give it as >30, i am not able to write multiple if conditions in conditional column in edit query. So can anyone help me on this.

 

Thanks

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @Anonymous,

 

What I would suggest is to go into the Query Editor and then create a Conditional Column. In doing that it is a lot easier to create your requirments.

 

Then that will load it into your data model available for you to use it?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

5 REPLIES 5
GilbertQ
Super User
Super User

Hi @Anonymous,

 

What I would suggest is to go into the Query Editor and then create a Conditional Column. In doing that it is a lot easier to create your requirments.

 

Then that will load it into your data model available for you to use it?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Baskar
Resident Rockstar
Resident Rockstar

Cool Dude,

 

 

Switch ( True(),

Agieng < 15 , "0-15",

AND( Agieng >= 15 ,Agieng <= 30,  "15-30",

etc........

 )

 

 

Let me know if any help futher 

Anonymous
Not applicable

Thanks Baskar

 I have already got the logic, thanks for ur valuable reply

Cool dude.

Hi @Anonymous,

If you have resolved your issue, please mark the corresponding reply as answer which will help other people clearly. Thanks a lot.

 

Best Regards,
Angelia

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 Kudoed Authors