Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello-
I need to be able to pull the 'Live' Milestone Actual date into a column for each ID.
I then need to be able to pull the 'In Date' Milestone Actual date into a column for each ID.
Then I need to compare the dates, if the 'Live' Actual data is blank, it would be 'N/A', if the 'In Date' was blank it would be "Yes" and if the 'Live'<'In Date', "Yes", "No"
I made this in a matrix but need it in column because I can't get the measures to populate any charts.
Any help is appreciated!
Here is a sample the data
Solved! Go to Solution.
@jen8080, try these calculated columns:
Live Actual Date =
VAR vID = Milestone[ID]
VAR vTargetRow =
FILTER ( Milestone, Milestone[ID] = vID && Milestone[Milestone Name] = "Live" )
VAR vResult =
MAXX ( vTargetRow, Milestone[Actual Date] )
RETURN
vResult
In Date Actual Date =
VAR vID = Milestone[ID]
VAR vTargetRow =
FILTER ( Milestone, Milestone[ID] = vID && Milestone[Milestone Name] = "In Date" )
VAR vResult =
MAXX ( vTargetRow, Milestone[Actual Date] )
RETURN
vResult
Calc Column =
VAR vLiveActualDate =
Milestone[Live Actual Date]
VAR vInDateActualDate =
Milestone[In Date Actual Date]
VAR vResult =
SWITCH (
TRUE (),
ISBLANK ( vLiveActualDate ), "N/A",
ISBLANK ( vInDateActualDate ), "Yes",
vLiveActualDate < vInDateActualDate, "Yes",
"No"
)
RETURN
vResult
Proud to be a Super User!
Hi @jen8080,
Did DataInsights 's suggestion help for your scenario? If this is a case, you can consider accepting this suggestion to help other users with the same requirement.
If not, you can feel free to post here with detailed information and descriptions.
Regards,
Xiaoxin Sheng
@jen8080, try these calculated columns:
Live Actual Date =
VAR vID = Milestone[ID]
VAR vTargetRow =
FILTER ( Milestone, Milestone[ID] = vID && Milestone[Milestone Name] = "Live" )
VAR vResult =
MAXX ( vTargetRow, Milestone[Actual Date] )
RETURN
vResult
In Date Actual Date =
VAR vID = Milestone[ID]
VAR vTargetRow =
FILTER ( Milestone, Milestone[ID] = vID && Milestone[Milestone Name] = "In Date" )
VAR vResult =
MAXX ( vTargetRow, Milestone[Actual Date] )
RETURN
vResult
Calc Column =
VAR vLiveActualDate =
Milestone[Live Actual Date]
VAR vInDateActualDate =
Milestone[In Date Actual Date]
VAR vResult =
SWITCH (
TRUE (),
ISBLANK ( vLiveActualDate ), "N/A",
ISBLANK ( vInDateActualDate ), "Yes",
vLiveActualDate < vInDateActualDate, "Yes",
"No"
)
RETURN
vResult
Proud to be a Super User!
Not clear to me, do you need one row for one ID? Do you want to transform the sample data you provided, in the PowerBI how your table looks like?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
42 | |
30 | |
27 | |
27 |