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
FZOU
Helper IV
Helper IV

Mark as key

Hello,

 

I'm trying to mark a column as key but i can't find the new addition Mark as key, does any one know how to display it ? thank you.

Add As Key.jfif

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @FZOU ,

 

Which version of Power BI are you using? I have never seen this option in Power BI Edit Queries section before.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

6 REPLIES 6
JentonBI
Frequent Visitor

Hi @FZOU,

 

The only place I have seen "Mark as key" is in the query editor for a Dataflow entity, in the Power BI Service.

v-zhenbw-msft
Community Support
Community Support

Hi @FZOU ,

 

Sorry for that now in Power BI you need a single column to link two tables  and you can't define a key with two columns as you can in common databases. 

 

Mark1.jpg

 

If you want to create a relationship between two tables, please check this article.

Or if you want to create relationships based on multiple columns, please check this article.

 

If these don't meet your requirement, could you tell us why you want to mark a column as key?

Clearly describing the issue will help more people to understand, and they will help you solve it quickly.

 

Best regards,

 

Community Support Team _ zhenbw

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

@v-zhenbw-msft  your response is very useful thank you

Pragati11
Super User
Super User

Hi @FZOU ,

 

Which version of Power BI are you using? I have never seen this option in Power BI Edit Queries section before.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11  i'm using the latest version but i can't find it also,maybe it will be available in the next update, thank you any way for your response

old thread I know, but it's in Dataflows, I've not seen it in the desktop version.

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.