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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to capture change of Text for previous period ?

I have 3 columns -  Project number, Status and Month. 

 

ProjectStatusMonth
11PRJan-18
11PRFeb-18
11FEMar-18
11FEApr-18
11FEMay-18
11CDJan-18
22CDFeb-18
22PRMar-18
22PRApr-18
22PRMay-18
33FEJan-18
33FEFeb-18
33FEMar-18
33PRApr-18
33PRMay-18

 

I am trying to find way how to get information about change of status - for example when projects left FE status to PR. 

 

tried to use Previousmonth but cannot find a way how to use it with text. 

 

thank you for any help

6 REPLIES 6
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Maybe you can change the type of the [Month] into Date or add a new date column.

DateMonth = DATE(YEAR([Month]), MONTH([Month]), 1)

Then create a date table due to the time intelligence function needs it. 

Finally, you can add a new column to get the status of changes.

Column =
VAR lastStatus =
    CALCULATE (
        MIN ( Table1[Status] ),
        PREVIOUSMONTH ( 'Calendar'[Date] ),
        ALLEXCEPT ( Table1, Table1[Project] )
    )
RETURN
    IF ( ISBLANK ( lastStatus ) || [Status] = lastStatus, "No change", "Changed" )

how_to_capture_changes

Best Regards,
Dale

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

image.png

I am looking for a specific month for projects when they changed from status PR to anything else.  (table 1 )
I converted status PR as number 1, everything else is 0. (table 2 )
calculated measure difference between months, so now where is 1 in table 3 i need to count those per month.
what would be the measure for this to calculate how many times there is 1 per month ?
thank you

Hi @Anonymous,

 

Seems you already have it. Please refer to the snapshot below.

image-1

 

Best Regards,
Dale

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

What are you trying to show exactly? The first date of a certain project?

 


 


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


Proud to be a Datanaut!  

Anonymous
Not applicable

im trying to get information :

 

e.g. project XX changed status from FE to PR on Dec 2018, XY from CD to CB on Nov 2018

 

was trying to get  value for each row for previous month

what about showing it on a Timeline visual?

 

Capture.PNG

 


 


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


Proud to be a Datanaut!  

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors