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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
kkalyanrr
Helper V
Helper V

Problem while using first nonblank DAX expression

Hello Team,

 

I'm looking for solutions for the below issue,

 

based on estimated date and contractnumber I'm pulling the data in to the other table(I tried look up but not working so tried first non blank) , so here is output looks.
But what I am expecting is the item name should continue to populate till the next change in Itemname..

Please help.

 

1.PNGTable3Table3

1 ACCEPTED SOLUTION

Hi @kkalyanrr 

You may create a calendar table and then new the table as below:

Table 2 =
SELECTCOLUMNS (
    FILTER (
        GENERATE ( Table1, 'Calendar' ),
        Table1[Date] <= 'Calendar'[_Date]
            && Table1[Next_date] > 'Calendar'[_Date]
    ),
    "ID", Table1[ID],
    "Date", 'Calendar'[_Date],
    "Stage", Table1[Stage]
)

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @kkalyanrr 

It seems you may try to use GENERATE function.Could you explain more about your expected output?If you need further help,please follow the How to Get Your Question Answered Quickly to post your simple assumed data and expected output.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-cherch-msft  -- Here is the what I'm looking for ,

 

Till the next change in the "Stage" column the previous value has to be continued...

 

Capture.PNG

Hi @kkalyanrr 

You may create a calendar table and then new the table as below:

Table 2 =
SELECTCOLUMNS (
    FILTER (
        GENERATE ( Table1, 'Calendar' ),
        Table1[Date] <= 'Calendar'[_Date]
            && Table1[Next_date] > 'Calendar'[_Date]
    ),
    "ID", Table1[ID],
    "Date", 'Calendar'[_Date],
    "Stage", Table1[Stage]
)

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.