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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
SachinC
Helper V
Helper V

Conditional Column Advice Needed - 2 Questions

Hi,

 

Q1: Can you review this conditional column query to ensure its correct:-

 

If [Mileage] is less than 25 Then 0-25 Miles

If [Mileage] is less than 100 Then 25-100 Miles

If [Mileage] is less than 200 Then 100-200 Miles

If [Mileage] is greater than 201 Then 200 Plus

 

Is this the correct If...Then... stack?  If not, then please correct me.

 

Q2: Import Mode

 

When I add a Conditional Column; it converts my PowerBi report to Import Mode as opposed to Direct Query.  Why is this? What is the advantage and disadvantage of this please?


Thanks.

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @SachinC ,

 

A1: If you add it from the UI of the conditional column, usually it would be correct. You also can check the code by opening the Advanced Editor. Please refer to the snapshot below. 

A2: It's still Direct Query mode in my test. How did you add the new column? Maybe it's too complicated. 

Conditional-Column-Advice-Needed-2-Questions

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.