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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.