Forum Discussion
Cumulative values and fill between values
JeremyJvR , try like
CALCULATE(
COUNTA('Pricelist_table'[Stock No]), filter( allselected('MasterValues'),'MasterValues'[Index]<= MAX('MasterValues'[Index])))
or
IF(FIRSTNONBLANK(MasterValues[Index], MasterValues[Index]) <= max(Pricelist_table[Sort]),
CALCULATE(
COUNTA('Pricelist_table'[Stock No]),
FILTER(
CALCULATETABLE(
SUMMARIZE(allselected('MasterValues'), 'MasterValues'[Index], 'MasterValues'[Category]),
ALLSELECTED('MasterValues')
),
ISONORAFTER(
'MasterValues'[Index], MAX('MasterValues'[Index]), DESC
)
)), BLANK())
Thanks for the reply.
It almost works, but not yet.
I need it to stop as soon as it hits the maximum, in this case 840.
The issue is that I want to plot this on a line graph against different stock units. It just looks ugly on the graph when those gaps shows
- Ashish_Mathur4 years ago
Super User
Hi,
Share the link from where i can download your PBI file.
- JeremyJvR4 years agoNew Member
https://drive.google.com/file/d/1fomTDJOBem1WpdM3YUgLRuzP1NnLdkXo/view?usp=sharing
Thanks, see if you can reach this?
- Ashish_Mathur4 years ago
Super User
Hi,
The amitchandak_2 seems just fine to me. What is the problem?