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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors