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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Team,
Please help me to fix the below DAX code error. I am a begginer in DAX, please help.
IF(AND(Query1[Apply Date]="9/26/2022", Query1[Apply Date]="10/20/2022")
Thanks,
Bala
@Anonymous , Try like
if(
OR(Query1[Apply Date]= date( 2022,9,26) , Query1[Apply Date]= date(2022,10,20))
&& Query1[Pay Code Name]="Total Hours" || (((Query1[Employment Status]>= date(2022,10,20))
&& (Query1[Employment Status]="Terminated" || isblank(Query1[Termination Date]))
&& Query1[Pay Rule Name] IN {"FD Salary","UTF Salary"}
&& Query1[Seniority Rank Date]<=date(2022,10,20))), "Yes", "No")
Thanks Amit sir for your quick code fix, that is the reason I tagged your name.
It shows another error after I took your DAX code, pls help sir.
Check out the November 2025 Fabric 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!