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.
Need the dax query for the below conditions in screen shot. There are two tables FKTA_F_ALTERED_MESSAGES and FKTA_F_ACTIONS with one to one relationship.
Solved! Go to Solution.
Hi @Anonymous ,
Please check if this measure could work:
Measure =
IF (
MAX ( 'FKTA_F_ALTERED_MESSAGES'[FLAG_LIVEHIST] ) = 1,
MAX ( 'FKTA_F_ALTERED_MESSAGES'[CURRENT_DATE] )
- CALCULATE (
MAX ( 'FKTA_F_ACTIONS'[ACTION_DATETIME] ),
'FKTA_F_ACTIONS'[FKCO_STATUS] = 17
)
)
In addition, please share us more details.
Reference: How to Get Your Question Answered Quickly - Microsoft Power BI Community
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please check if this measure could work:
Measure =
IF (
MAX ( 'FKTA_F_ALTERED_MESSAGES'[FLAG_LIVEHIST] ) = 1,
MAX ( 'FKTA_F_ALTERED_MESSAGES'[CURRENT_DATE] )
- CALCULATE (
MAX ( 'FKTA_F_ACTIONS'[ACTION_DATETIME] ),
'FKTA_F_ACTIONS'[FKCO_STATUS] = 17
)
)
In addition, please share us more details.
Reference: How to Get Your Question Answered Quickly - Microsoft Power BI Community
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
if there is a 1:1 relationship can you merge the tables?
Please provide sample data in usable format (not as a picture) and show the expected outcome.
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.