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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all!
I have this table.
I need fill the data with "0" between the first date and last date into the table.
For example:
Solved! Go to Solution.
Create a new table with help from calendar
Table2 = calendar(min(Table1[Date]),max(Table[Date]))
New column in Table 2
value = maxx(filter(table1,table1[Date] = table2[Date]),table1[value])+0
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Hi @gabrielvigo ,
The formulas that amitchandak suggested work fine. And I create others. You could have a try based on your actual situation.
Table 2 = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))
Measure = IF(MAX('Table'[Value]) = BLANK(),0,MAX('Table'[Value]))
For more details, please see the attachment.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gabrielvigo ,
The formulas that amitchandak suggested work fine. And I create others. You could have a try based on your actual situation.
Table 2 = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))
Measure = IF(MAX('Table'[Value]) = BLANK(),0,MAX('Table'[Value]))
For more details, please see the attachment.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a new table with help from calendar
Table2 = calendar(min(Table1[Date]),max(Table[Date]))
New column in Table 2
value = maxx(filter(table1,table1[Date] = table2[Date]),table1[value])+0
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin