DAX Multi conditions

countryfan_nt

Well-known Member
Joined
May 19, 2004
Messages
758
Hello! please help me fix the below DAX formula,

=IF(COUNTROWS(FILTER('PATIENT COUNT - RAW DATA - per Dr',[PatientID]=EARLIER('PATIENT COUNT - RAW DATA - per Dr'[PatientID])&&[Name of Branch]=EARLIER([Name of Branch])&&[InvoiceDate]>EARLIER([InvoiceDate]))),1,0)

I wish to capture ifs:
1. If clinic = ER and for the Earlier Clinic <> ER
2. And for invoice Date is equal or less than Earlier in other clinics (not ER)


Thank you so much in advance
 

Attachments

  • Capture.PNG
    Capture.PNG
    18.5 KB · Views: 3

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
A reminder:

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
A reminder:

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
thank you, we are not the same person, but are in the same organization, and are facing the same challenge.
 
Upvote 0
The links are here now, so it's OK. Just remember them in future.
 
Upvote 0

Forum statistics

Threads
1,215,766
Messages
6,126,760
Members
449,336
Latest member
p17tootie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top