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
Tad
Frequent Visitor

Stacked Column Chart Last Date issue

Hello,

 

I have the below stacked column charts. One is showing the totals by day and the other is showing the totals on the last day of the selected date range. The problem I have is the dark blue bar in the middle. It is a 1.2M amount at 35% probabiliy that was changed to 95% probability on the 21st. For some reason it is showing up in my measure that is also copied below. I'm assuming I need a summarize function as filtering is not acheiving what I need. I need the last date to be dynamic with the user's selection and I need it to work with the date hierarchy.

 

Tad_0-1661958358886.png

I've tried variations of both of the below measures:

Option 1 =
SUMX(
    FILTER (
        'Cross-Joined Date/Deals',
        VAR _V = Calculate ( MAX ( 'Cross-Joined Date/Deals'[Date]), ALLSELECTED('Cross-Joined Date/Deals'))
        RETURN
        'Cross-Joined Date/Deals'[Date] = _V
    ),
    'Cross-Joined Date/Deals'[Amount]
)
Option 2 =
CALCULATE(
    sum('Cross-Joined Date/Deals'[Amount]),
       FILTER( 'Cross-Joined Date/Deals', 'Cross-Joined Date/Deals'[Date] = LASTDATE('Cross-Joined Date/Deals'[Date]))
)
1 ACCEPTED SOLUTION
Tad
Frequent Visitor

Just in case anyone stumbles onto this and has a similar issue I fixed it by removing day from the hierarchy and just using IF(ISFILTERED(table[date].[Month]/.[Quarter]/.[Year] statements with ENDOF_____ MONTH/QUARTER/YEAR.

View solution in original post

1 REPLY 1
Tad
Frequent Visitor

Just in case anyone stumbles onto this and has a similar issue I fixed it by removing day from the hierarchy and just using IF(ISFILTERED(table[date].[Month]/.[Quarter]/.[Year] statements with ENDOF_____ MONTH/QUARTER/YEAR.

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