Forum Discussion
SophieBoucher
10 years agoFrequent Visitor
change primary key power bi
Hello, Anyone can tell me how we can change a colomn of Primary key in Power BI, I have a table with 2 Colomn, i like to add an Index colomn and specify it to primary can, i can't do it. Tha...
Anonymous
10 years agoNot applicable
Hi SophieBoucher,
Could you please post the full error message in English and share sample data of your scenario?
Generally, we will need to create/define Primary key at data source level and then import it into Power BI. Another option is to use DAX in Power BI to combine several columns so that each row has unique values.
Thanks,
Lydia Zhang