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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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