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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
KoalaPBI
Frequent Visitor

Cumulative totals - Current & last FY

Hi there,

I want to calculate cumulative signups for current FY & last FY. FY starts on 1st July & ends on 30th June. 

KoalaPBI_1-1660019571913.png

I created a measure to calculate cumulative total for current FY, but it is incorrect. should be 15 in Aug instead of 14. Please let me know what is wrong with this measure and also provide a measure to calculate cumulative signups for last FY (FY22)

Here is the pbi file : https://1drv.ms/u/s!Ag919_pO_UKrghrxssJ1dthLEMvu?e=q2183a

many thanks!

1 ACCEPTED SOLUTION

Hi,

Thank you for your message.

Could you please check the attached pbix file, if it shows the correct numbers?

Thanks.

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

View solution in original post

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but I think ID = 111 is in both Jul and Aug (Duplicated).

So, I think if the measure distinctcount IDs, it is the correct number.

However, If you still want to show 15, even ID=11 is shown in the both months, please try the below measure.

 

Picture2.png

 

 

Signups Current FY_Cum =
VAR _newtable =
    ADDCOLUMNS (
        SUMMARIZE (
            FILTER (
                ALL ( Datedim ),
                Datedim[Date] <= MAX ( Datedim[Date] )
                    && Datedim[Is Current FY] = 1
            ),
            Datedim[FYYear],
            Datedim[FY_Monthname],
            Datedim[FYMonthNum]
        ),
        "@singup", CALCULATE ( DISTINCTCOUNT ( 'Table'[Id] ) )
    )
RETURN
    SUMX ( _newtable, [@singup] )

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

thanks @Jihwan_Kim , Would you please also let me know how can I calculate cumulative for last FY (FY22). I can't use the filter Datedim[Is Current FY] <>1 as in my dataset there is data from FY21 as well ?

Hi,

Thank you for your message.

Could you please check the attached pbix file, if it shows the correct numbers?

Thanks.

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.