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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

CREATE COLUMN

HELLO

How do I create a column from the smallest member and repeat it in a column in PowerQuery that does not go out of direct query mode?

1 ACCEPTED SOLUTION

Hi @Anonymous 

 

Create a calculated column with MIN. Although there is no Data view for DirectQuery table, you can see data when you put columns into a visual. 

New Column = MIN('TableName'[ColumnName])

 

Regards,

Jing

If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Since it is in Direct Query mode, creating a calculated column or measure to get the same result is a better choice. This will not go out of direct query mode. 

 

Could you share some sample data and desired result so that we can help create an expression? Do you want to populate a new column with the smallest value in another column?

 

Best Regards,
Community Support Team _ Jing

Anonymous
Not applicable

thank you 

hello

yes ,I want smallest value another column

Hi @Anonymous 

 

Create a calculated column with MIN. Although there is no Data view for DirectQuery table, you can see data when you put columns into a visual. 

New Column = MIN('TableName'[ColumnName])

 

Regards,

Jing

If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors