I'm trying to get a simple chart with columns for one value and a line for another value.
- I'm using a calculated calendar to show the week/year item with an order.
- A table with all the data and a calculated measure in DAX to show the acumulated for every week.
My problem is that the DAX measure is forcing all the weeks to show in the chart, even the ones without data (because they will get the acumulate from the ones before).
This is the measure:
P-Soll(sum) = CALCULATE(
SUM(TEVON_parts_current_K[P-Soll]),
ALLSELECTED(TEVON_parts_current_K),
'Orden Semanas_Soll'[Index]<=MAX('Orden Semanas_Soll'[Index])
)
This is how it shows:
And these are the weeks with data:
There are more, but you can get the idea. Is there any way to show only the weeks with real data?

