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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
Anonymous
Not applicable

How to track changes (text fields) on rows compared to next month?

Hi All,

 

I recently start using PowerBi, as we are running some applications with reporting options, but to get some important stuff out of it seems a no go. I have already searched on video's and this community. But just can't find the solution to it.

 

The situation is as follows:

We are running a monthly report, with a lot of text fields (seperated by columns) behind a article field index(this is unique).

The text in the columns can change by time as names and or location change. I'm linking to these excel files via de folder option.

 

I want to capture the lines/rows where some text fields did change or are removed.

And of course a new entry, when an new product is added to our catalog.

 

Beneath an example:

data extract, Sheet from October

article BOAODESCRIPTIONRELATIONMonth
RGT12 Steve OYESRGT12 article descriptionAAMoctober
RGT13 Laura TYESRGT13 article descriptionKAMoctober
RGT14 Linda SYESRGT14 article descriptionAAMoctober
RGT15 Steve OYESRGT15 article descriptionKLPoctober
RGT16 Bert VYESRGT16 article descriptionKLToctober
RGT17 Oliver TNORGT17 article descriptionKLMoctober
RGT18 Kenny BYESRGT18 article descriptionKLMoctober
RGT19 Laura TYESRGT19 article descriptionPTRoctober
RGT20 Bert VYESRGT20 article descriptionPTRoctober
RGT21 Kenny BYESRGT21 article descriptionAAMoctober
RGT26 Steve ONORGT26 article descriptionKLToctober
RGT27 Peter PYESRGT27 article descriptionAAMoctober
RGT28 Laura TYESRGT28 article descriptionASWoctober
RGT56 Steve OYESRGT56 article descriptionAAMoctober
RGT57 Steve ONORGT57 article descriptionKLToctober
RGT58 Steve OYESRGT58 article descriptionPTRoctober

data extract, Sheet from November.

article BOAODESCRIPTIONRELATIONMonth
RGT13 Laura TYESRGT13 article descriptionKAMnovember
RGT14 Linda SYESRGT14 new article descriptionAAMnovember
RGT15 Steve OYESRGT15 article descriptionKLPnovember
RGT16 Bert VYESRGT16 article descriptionKLTnovember
RGT17 Oliver TYESRGT17 new article descriptionKLMnovember
RGT18 Benny BYESRGT18 article descriptionKLMnovember
RGT19 Laura TYESRGT19 article descriptionnew PRTnovember
RGT21 Benny BYESRGT21 article descriptionAAMnovember
RGT26 Steve OYESRGT26 article descriptionKLTnovember
RGT27 Peter PYESRGT27 new article descriptionAAMnovember
RGT28 Laura TYESRGT28 article descriptionASWnovember
RGT56 Steve OYESRGT56 article descriptionnew AAMnovember
RGT57 Steve OYESRGT57 article descriptionKLTnovember
RGT58 Steve OYESRGT58 article descriptionPTRnovember
RGT59 Laura TYESRGT59 article descriptionnew AAMnovember
RGT60 Peter TYESRGT60 article descriptionAAMnovember
RGT61 Peter TYESRGT61 article descriptionAAMnovember
RGT62 Olly RYESRGT62 article descriptionAAMnovember

 

So how can I easily see that e.g. RGT 59, RGT60, RGT61 and RGT62 are new?

and that RGT14 got a new description, and RGT18 changed form Kenny B to Benny B?

Is this possible?

 

Hope I make sence in my description.

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

Hi @Anonymous ,

According to your description, here’s my solution.

1.Create a measure to check the status.

Check =
IF (
    CALCULATE (
        COUNTROWS ( 'october' ) = 0,
        FILTER ( ALL ( 'october' ), 'october'[article] = MAX ( 'november'[article] ))
    ),
    "New",
    IF (
        CALCULATE (
            COUNTROWS ( 'november' ) = 0,
            FILTER (
                ALL ( 'november' ),
                'november'[article] = MAX ( 'october'[article] )
                    && 'november'[AO] = MAX ( 'october'[AO] )
                    && 'november'[BO] = MAX ( 'october'[BO] )
                    && 'november'[DESCRIPTION] = MAX ( 'november'[DESCRIPTION] )
                    && 'november'[RELATION] = MAX ( 'october'[RELATION] )
            )
        ),
        "Change",
        BLANK ()
    )

)

vkalyjmsft_0-1638928847287.png

 

2.Create color measures for conditional formatting.

ColorAO = IF('november'[Check]="Change",IF(MAX('november'[AO])<>MAX('october'[AO]),"Red"))

ColorBO = IF('november'[Check]="Change",IF(MAX('november'[BO])<>MAX('october'[BO]),"Red"))

ColorDES = IF('november'[Check]="Change",IF(MAX('november'[DESCRIPTION])<>MAX('october'[DESCRIPTION]),"Red"))

ColorREL = IF('november'[Check]="Change",IF(MAX('november'[RELATION])<>MAX('october'[RELATION]),"Red"))

3.Select Conditional formatting and turn on Font color, for each column, select the corresponding color measure.

For column AO:

vkalyjmsft_1-1638928847289.png

 

vkalyjmsft_2-1638928847291.png

 

4.Get the expected result.

vkalyjmsft_3-1638928847294.png

I attach my sample below for reference.

Best Regards,
Community Support Team _ kalyj

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

5 REPLIES 5
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, here’s my solution.

1.Create a measure to check the status.

Check =
IF (
    CALCULATE (
        COUNTROWS ( 'october' ) = 0,
        FILTER ( ALL ( 'october' ), 'october'[article] = MAX ( 'november'[article] ))
    ),
    "New",
    IF (
        CALCULATE (
            COUNTROWS ( 'november' ) = 0,
            FILTER (
                ALL ( 'november' ),
                'november'[article] = MAX ( 'october'[article] )
                    && 'november'[AO] = MAX ( 'october'[AO] )
                    && 'november'[BO] = MAX ( 'october'[BO] )
                    && 'november'[DESCRIPTION] = MAX ( 'november'[DESCRIPTION] )
                    && 'november'[RELATION] = MAX ( 'october'[RELATION] )
            )
        ),
        "Change",
        BLANK ()
    )

)

vkalyjmsft_0-1638928847287.png

 

2.Create color measures for conditional formatting.

ColorAO = IF('november'[Check]="Change",IF(MAX('november'[AO])<>MAX('october'[AO]),"Red"))

ColorBO = IF('november'[Check]="Change",IF(MAX('november'[BO])<>MAX('october'[BO]),"Red"))

ColorDES = IF('november'[Check]="Change",IF(MAX('november'[DESCRIPTION])<>MAX('october'[DESCRIPTION]),"Red"))

ColorREL = IF('november'[Check]="Change",IF(MAX('november'[RELATION])<>MAX('october'[RELATION]),"Red"))

3.Select Conditional formatting and turn on Font color, for each column, select the corresponding color measure.

For column AO:

vkalyjmsft_1-1638928847289.png

 

vkalyjmsft_2-1638928847291.png

 

4.Get the expected result.

vkalyjmsft_3-1638928847294.png

I attach my sample below for reference.

Best Regards,
Community Support Team _ kalyj

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

Anonymous
Not applicable

@v-yanjiang-msft 

Sorry that I couldnt answer earlier. As I got covid, I'm still strugling a bit with day to day work. I'm still trying to understand what you wrote for these measures. Seems that I'm not there yet.

Hi @Anonymous ,

First through the measure check, you can get all the article which is different from before or completely new.

vkalyjmsft_0-1639554881467.png

For the changed part, in order to highlight the different places, I use conditional formatting, by the color measure, the changed part will be higelighted.

vkalyjmsft_1-1639555137723.png

You can download my sample, it can help you to understand.

Best Regards,
Community Support Team _ kalyj

MFelix
Super User
Super User

Hi @Anonymous ,

 

This depends on how you want to track this changes I have made this trough power query but also trough DAX.

 

Can you share a little bit more on your model. Is everything in the same table? Are you only tracking changes from previous period or to other periods has well?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

@MFelix thank you for having a look at this. (couldn't answer earlier because I got sick from covid). But getting better now.

The data sets are really exported excel sheets for every month. So they need to look at the previous month. If the december month will be placed in the folder, It needs to check the november one.... and for January the December month... and so on. The excel sheets are all similar with setup.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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