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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
abrcam
Regular Visitor

Weekly tracker fix and fill empty values

Hi there,

I need some kind of way to fill the empty cells in order to show the full progress on a weekly tracking Line Graph.

1) Fill with the last value all the empty spaces

2) If no last-value use 0%

3) Show all the weeks even there are no values
I'm attaching the example I've been working but haven't been able to show it. I tried to generate a separate table but can't find a way to make it work.
How would you do this? Appreciate all the help
Download files 

 

abrcam_0-1695410125567.png

abrcam_1-1695410217877.png

 

2 REPLIES 2
biakhil
New Member

1) Fill with the last value all the empty spaces:;

Use 

LastFilledProgress =IF(ISBLANK([category]),CALCULATE(MAX([category]),FILTER(TableName,TableName[Week<EARLIER(TableName[Week]))),[category])

2) If no last-value use 0%

USE: NoLastProgress = IF(ISBLANK([category]) || [category] = 0, 0, [category])

3) Show all the weeks even there are no values

Use the above measures to plot the graph.

can you try updating the file I shared with your proposal?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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