Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
kkane
Regular Visitor

DAX IF OR ISBLANK

Hi, 

 

Struggling with the below. Getting a response saying there are too many arguments. Basically, I want to be able to filter my data by one row per client. Right now I'm getting a row for every contact so same client is appearing 10 or more times. 

Clientbase = IF(OR(vw_contacts[Actual_Appt_Date]=(vw_contacts[LastAppointment]),(ISBLANK(vw_contact[Actual_Appt_Date])),"1"))
 
What am I doing wrong?
2 REPLIES 2
ERD
Community Champion
Community Champion

@kkane , without data sample and required result it's hard to analyze the formula. As for the syntax mistakes, formatting helps to see redundant brackets.

 

Clientbase =
IF (
    OR (
        vw_contacts[Actual_Appt_Date] = vw_contacts[LastAppointment],
        ISBLANK ( vw_contact[Actual_Appt_Date] )
    ),
    1
)

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Stand with Ukraine!


Here is an official way you can support Ukraine financially:
Come Back Alive foundation: https://savelife.in.ua/en/

Thank you!

djurecic
Super User
Super User

Hi @kkane ,

 Can you explain the logic you are trying to use? Right now, the true part of the If statement is ISBLANK(vw_contact[Actual_Appt_Date]) which returns true/false, and the false part of the If statement is "1"

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.