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
Hai Can you help me to find complete this dax.
I was trying to create version flag but unfortunately i am getting this error, please help me to correct this dax
Hi @AlanP514 ,
Not sure what you want the output to be, but in the IF function, the first argument must be any value or expression whose calculation results in TRUE or FALSE, like this.
Version Month Selection Flag =
VAR Maxversion =
MAX ( 'T1 Data Base'[Version Flag] )
VAR Mindate =
CALCULATE (
MIN ( 'T1 Data Base'[Attribute] ),
FILTER (
ALLSELECTED ( 'T1 Data Base' ),
'T1 Data Base'[Version Flag] = Maxversion
)
)
RETURN
IF ( MAX ( 'T1 Data Base'[Attribute] ) >= Mindatee, 1, 0 )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hai @tamerj1
Thank you for your quick response, But I already closed the bracket
Can you please rewrite this formula based on your perception
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!