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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

INCORRECT SUBTOTAL

Hi, 

 

I have some issues with adding up the sub total in the martix table. kindly advise. thank you
Formula used as per below: 

 

New Member Sales =
CALCULATE (
    SUMX (
        WTMembersTransactionsDetailsReport,
        WTMembersTransactionsDetailsReport[Nett]
    ),
    FILTER (
        WTCustomizedCardsListingReport,
        WTCustomizedCardsListingReport[Issue Date]
            > LASTDATE ( DateKey[Date] ) - 30
    )
)

 

 

New Member Sales Total =
IF (
    COUNTROWS ( VALUES ( DateKey[MonthNo] ) ) = 1,
    [New Member Sales],
    SUMX ( VALUES ( DateKey[MonthNo] ), [New Member Sales] )
)

 

0 REPLIES 0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors