cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ssicefox Frequent Visitor
Frequent Visitor

How to delete duplicate columns

Hi,

 

I created a measure "AB" and selected two periods (C::2018.06 and R::2018.06), but it generated duplicate columns. 

Please tell me how to delete these duplicate columns.

 

Duplicate.PNG

 

I am looking forward to hearing rom you soon.

 

Best regards.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-cherch-msft Super Contributor
Super Contributor

Re: How to delete duplicate columns

Hi @ssicefox 

You may create a measure like below.It could hide the values under C::2018.06.Use the measure instead of [AB] in the matrix.

Measure =
IF ( MAX ( 'Table'[name] ) = "C::2018.06", BLANK (), 'Table'[AB] )

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-cherch-msft Super Contributor
Super Contributor

Re: How to delete duplicate columns

Hi @ssicefox 

You may create a measure like below.It could hide the values under C::2018.06.Use the measure instead of [AB] in the matrix.

Measure =
IF ( MAX ( 'Table'[name] ) = "C::2018.06", BLANK (), 'Table'[AB] )

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

ssicefox Frequent Visitor
Frequent Visitor

Re: How to delete duplicate columns

Hi, @v-cherch-msft 

Thank you for your help.

I found a solution.  I created several measures to replace these columns.

 

Best regards.

 

Wei

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 146 members 1,607 guests
Please welcome our newest community members: