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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
StevieCho
Regular Visitor

Tag a doublicate Value in a new column

Hi People 🙂

 

Is it possible to display a value in a new table as a duplicate?

Here is the example:

StevieCho_0-1673272436751.png

 

Here I want to check whether the panel "ShiftID" is in there twice, if so: Set a "Y" in the new field, otherwise an "N".

 

Any Ideas? 🙂

 

 

1 ACCEPTED SOLUTION

Hi @StevieCho 

 

My DAX formula is to create a new table, but you are creating a new column with it. 

vjingzhang_0-1673423227689.png

 

BR,

Jing

View solution in original post

4 REPLIES 4
v-jingzhang
Community Support
Community Support

Hi @StevieCho 

 

I see you have a filter on Type column, so I guess you have more than two different values in Type column, right? I made a simple demo table "SampleTable" like below, 

vjingzhang_0-1673318485892.png

 

You can create a new table with below DAX: 

vjingzhang_2-1673319204969.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Hi Jing,

 

Thank you for your reply.

Yes, there are 3 values in the table "Type".

I have tried your solution, but i receive an error 😞

 

StevieCho_0-1673338582155.png

 

Hi @StevieCho 

 

My DAX formula is to create a new table, but you are creating a new column with it. 

vjingzhang_0-1673423227689.png

 

BR,

Jing

Many many thanks. It works now 🙂

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.