Reply
Highlighted
Frequent Visitor
Posts: 2
Registered: yesterday

How to fill in blank field in accumulated table?

I calculated the accumulated product units and made below table. And I want to create a scatter table and use year as the play axis and shows the products as legend. But, since in the scatter chart, play axis ends at 2017, some products disappear in the end due to they don't have numbers in 2017. How can I keep the 2017 number in the chart when it ends.

 

 

Capture.PNG

Super Contributor
Posts: 3,687
Registered: ‎07-11-2015

Re: How to fill in blank field in accumulated table?

[ Edited ]

Do you mean keep the final amount, like for the products that have a last number in 2014? Keep that in the chart even for 2017? You might try creating a measure that does an accumulation that essentially sums all values from that year and less?

 

 

In Ohio? Check out the Columbus Azure ML and Power BI User Group (CAMLPUG)
In lieu of a kudo, consider donating to The Buckeye Ranch
Frequent Visitor
Posts: 2
Registered: yesterday

Re: How to fill in blank field in accumulated table?

I already created the accumulation measure. The value in the table uses the measure. But the field will be blank if there's no units in that year. That's why some fields in 2017 and other years are blank. I want to fill up with units amount even if there are no units in that year.

 

The accumulation measure I used is this:

Running Total Units = CALCULATE(count(Deal[Proudct]),filter(all('Calendar'),'Calendar'[Date] <= MAX('Calendar'[Date])))