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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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())

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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