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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Problems with Mixed Chart and FIRSTDATE

Good morning

I have a problem with the following chart:

josecabrera_0-1707911018999.jpeg

The chart shows a ratio in the columns and the cumulative figure of the same ratio in the line. The problem arises in the value to the left of OCT that captures the value of the cumulative ratio in a space called (blank). The calendar includes dates from October 1st to June 30th, so there is no date before October 1st.

The outline of the measures is as follows:

josecabrera_1-1707911279661.jpeg

I can't see what the problem is. If anyone can help me I would be very grateful.

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin , You can use the additional date conditions I have used, in your visual

 

Cumm Sales =
Var _max =maxX(allselected('Sales'), sales[date])
return
if(=max('Date'[date])<= _max, CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date]))), blank())

Cumm Sales =
Var _max =maxX(allselected('Sales'), sales[date])
return
if(=max('Date'[date])<= _max, CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date]))), blank())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors