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
GA1993
Helper II
Helper II

Carry over of data values into next month

HI,

 

Is there a way to display the following items tagged as "In Progress" as carry over to the next months?

For example, when a user filters the month to November it shows all the items for the month and an additional item from October that was tagged as "In Progress".

 

GA1993_0-1644522403340.png

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @GA1993 ,

 

According to your description, try the following formula:

M_ =
VAR sel_month =
    SELECTEDVALUE ( Tab_cal[Col_month] )
VAR cur_date =
    CALCULATE ( MAX ( Tab_cal[Date] ), Tab_cal[Col_month] = sel_month )
VAR cur_data_mon =
    FORMAT ( cur_date, "yyyy-mm" )
VAR table_mon =
    FORMAT ( MAX ( 'Table'[Date] ), "yyyy-mm" )
RETURN
    IF (
        table_mon = cur_data_mon,
        1,
        IF (
            MAX ( 'Table'[Date] ) < cur_date
                && MAX ( 'Table'[Status] ) = "In Progress",
            1,
            0
        )
    )

vhenrykmstf_0-1644906099129.png

vhenrykmstf_1-1644906124493.png

vhenrykmstf_2-1644906149669.png

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @GA1993 ,

 

According to your description, try the following formula:

M_ =
VAR sel_month =
    SELECTEDVALUE ( Tab_cal[Col_month] )
VAR cur_date =
    CALCULATE ( MAX ( Tab_cal[Date] ), Tab_cal[Col_month] = sel_month )
VAR cur_data_mon =
    FORMAT ( cur_date, "yyyy-mm" )
VAR table_mon =
    FORMAT ( MAX ( 'Table'[Date] ), "yyyy-mm" )
RETURN
    IF (
        table_mon = cur_data_mon,
        1,
        IF (
            MAX ( 'Table'[Date] ) < cur_date
                && MAX ( 'Table'[Status] ) = "In Progress",
            1,
            0
        )
    )

vhenrykmstf_0-1644906099129.png

vhenrykmstf_1-1644906124493.png

vhenrykmstf_2-1644906149669.png

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

VahidDM
Super User
Super User

HI @GA1993 

 

Does your report have a table for each month or all data are in a same table? can you share a sample of your data in a text format to be able to copy and past that?

 


Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Hi. It is all in one table. Here is the sample text data below.

 

DateItemsStatus
01-OctAComplete
02-OctBIn Progress
03-OctCComplete
01-NovDIn Progress
02-NovEIn Progress
03-NovFIn Progress
01-DecGComplete
02-DecHComplete
03-DecIIn Progress

 

 

I am hoping that in the Report/Visuals feature of PowerBI this can be filtered based on the selected filters by the user. I hope that makes sense.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors