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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
cottrera
Post Prodigy
Post Prodigy

Custom Column or Column Measure

Hi I am trying to a new column to a table that seaches the a column called ' Job Details' If the text in this table contains the word "Urgent" I would like y new column to say "Yes" otherwise leave blank.

The issue I have is that the report is using a Direct Query therefore I cannot add a custom column in power query.  Any suggestions

 

Direct Query Table
RefJob Details*New* Column = Urgent
1Fix Tab UrgentYes
2Fix Stairs 
3Fix Tap 
4Fix Roof UrgentYes
5Fix Gate 
6Fix Bath 
7Fix Shower 
8Fix Window 
9Fix Roof UrgentYes
10Fix Window UrgentYes
11Fix Shower UrgentYes
12Fix Tab UrgentYes
13Fix Bath 

 

Richard

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That is actually an incorrect assumption.  You CAN have calculated columns in Direct Query as long as the computation is limited to the same row. Which is the case in your scenario.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about#implications-of-using-directquery

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

That is actually an incorrect assumption.  You CAN have calculated columns in Direct Query as long as the computation is limited to the same row. Which is the case in your scenario.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about#implications-of-using-directquery

Thank you for your response. I ready the document and you were right. I tried again and it did not work at first. It seemed that the applied steps were also affecting me adding a custom column. So I more the custom column step in front of all the other steps and it seemed to work.

 

RIchard

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.