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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
admin11
Memorable Member
Memorable Member

How to duplicate the column and replace G with missing value ?

Hi All
I have the field name = GROUP_TYPE , It have G1 , G2 ...... 

admin11_0-1654515387804.png

I like to create another column , that is copy all the value label except "G"

So it will return as below :-

G1...G1

G2...G2

G..........

 

G will replace with missing value.

 

Can some one share with me the expression ?

 

Paul

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello

 

G is the minimum LEN =1

if(Len(Groupp_Type)>1,Group Type)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hello

 

G is the minimum LEN =1

if(Len(Groupp_Type)>1,Group Type)

@Anonymous 

Thank you very much. it work

Paul

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.