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
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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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