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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
peternznguyen
Helper II
Helper II

Power BI table value appear once if they have same values on other columns

Hi experts,

I have below Power BI data table, the current values of column "Production comments"  are showing repeatedly if they have same the Date as below

peternznguyen_1-1684887453222.png

 

My end users want the values of "Production comments" appear once if they have same Date as in green boxes below

peternznguyen_3-1684887907161.png

 

I have tried to use Matrix (+/- icons and Stepped Layout are off) instead of Table but it does not achieve due to various reasons.

 

Please help me to find a solution

Much appreciated

 

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @peternznguyen ,

According to your description, I create a sample.

vyanjiangmsft_0-1684996672501.png

Here's my solution:

1. Add an index column in Power Query.

2.Create a calculated column.

Column =
IF (
    'Table'[Index]
        = MINX (
            FILTER ( 'Table', 'Table'[Date] = EARLIER ( 'Table'[Date] ) ),
            'Table'[Index]
        ),
    'Table'[Production comments],
    BLANK ()
)

Get the correct result:

vyanjiangmsft_1-1684996772784.png

I attach my sample below for your reference.

 

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

Best regards,

Community Support Team_yanjiang

 

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @peternznguyen ,

According to your description, I create a sample.

vyanjiangmsft_0-1684996672501.png

Here's my solution:

1. Add an index column in Power Query.

2.Create a calculated column.

Column =
IF (
    'Table'[Index]
        = MINX (
            FILTER ( 'Table', 'Table'[Date] = EARLIER ( 'Table'[Date] ) ),
            'Table'[Index]
        ),
    'Table'[Production comments],
    BLANK ()
)

Get the correct result:

vyanjiangmsft_1-1684996772784.png

I attach my sample below for your reference.

 

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

Best regards,

Community Support Team_yanjiang

 

Thank you very much!

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.