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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
User | Count |
---|---|
14 | |
10 | |
7 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |