Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I meet the issue when deal the data with some date and milestone information.
First, I build two tables, one is the Calendar table, the other is about some date of milestone.
#Milestone table:
Then, I build relationship between the tables, and I need to fill down the milestone value to the Calendar table.
The dax formula as below:
I don't know why the formula goes wrong, please helps to figure out.
Another request for the formula is to stop fill down milestone value when detect "finish".
I have attached the file, thanks.
Solved! Go to Solution.
Column =
VAR __Date = [Date]
VAR __Max = MAXX(FILTER('Calendar',[Date]<=__Date && NOT(ISBLANK([Milestone]))),[Date])
VAR __Milestone = MAXX(FILTER('Calendar',[Date]=__Max),[Milestone])
RETURN
IF(__Milestone <> "finish",__Milestone,IF(__Max = __Date,__Milestone,BLANK()))
TI = bad.
@Roy_W
Can you check the attached file?
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy
The result is not expected, I need the milestone change to next one,
The value under finish should be "finish" to the end, not "m3".
And another requirement is to stop fill down milestone value when detect "finish".
Thanks
Column =
VAR __Date = [Date]
VAR __Max = MAXX(FILTER('Calendar',[Date]<=__Date && NOT(ISBLANK([Milestone]))),[Date])
VAR __Milestone = MAXX(FILTER('Calendar',[Date]=__Max),[Milestone])
RETURN
IF(__Milestone <> "finish",__Milestone,IF(__Max = __Date,__Milestone,BLANK()))
TI = bad.
@Roy_W You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Specifically: To **bleep** With FIRSTNONBLANK - Microsoft Power BI Community
These are based on this article:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |