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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
ssvr
Helper III
Helper III

Need Help on DAX

Hi All,

 

I want to migrate a project from Excel - Power BI.

 

I need to write a DAX based on Excel formul. Please help me out

 

Formula is in A9 Cell

 

=IF([@[Case No]]=A10,"",+IF(OR([@Status]="Board Review",[@Status]="Approved",[@Status]="Rejected",[@Status]="In Pilot"),[@[Received Date]],""))

3 ACCEPTED SOLUTIONS
v-frfei-msft
Community Support
Community Support

Hi @ssvr,

 

I made an sample for your reference. Here I created a calculated column using the formula.

 

Column =
IF (
    [Case No] = "A10",
    "",
    IF (
        [Status] = "Board Review"
            || [Status] = "Approved"
            || [Status] = "Rejected"
            || [Status] = "In Pilot",
        "" & Table1[Received Date],
        ""
    )
)

Capture.PNG

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/5bpc08p47rswabx/Need%20Help%20on%20DAX.pbix?dl=0

 

Regards,

Frank

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

Hi @ssvr,

 

I create two measures as below.

 

Count of project = COUNT(Table1[ProjectNumber])
Measure 2 = SUMX(ALLEXCEPT(Table1,Table1[Resouceinitials]),[Count of project])

212.PNG

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/4t5pkbq5cgfdici/DAX.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

Hi @ssvr

 

Try to update the formula to this one.

 

Count of project = COUNTA(Table1[ProjectNumber])

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

8 REPLIES 8
v-frfei-msft
Community Support
Community Support

Hi @ssvr,

 

I made an sample for your reference. Here I created a calculated column using the formula.

 

Column =
IF (
    [Case No] = "A10",
    "",
    IF (
        [Status] = "Board Review"
            || [Status] = "Approved"
            || [Status] = "Rejected"
            || [Status] = "In Pilot",
        "" & Table1[Received Date],
        ""
    )
)

Capture.PNG

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/5bpc08p47rswabx/Need%20Help%20on%20DAX.pbix?dl=0

 

Regards,

Frank

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @v-frfei-msft ,

 

Thanks for your reply on DAX

 

I need one more help from you

 

Required a DAX of Sum of ProjectNumber Count

 

CNDOL --- 2

 

Capture.JPG

Hi @ssvr,

 

Sample for your reference.

 

Measure = CALCULATE(COUNT(Table1[ProjectNumber]),ALLEXCEPT(Table1,Table1[Resouceinitials]))

 

123.PNG

 

For more details, please check the pbix as attached. If it doesn't meet your requirement, kindly share your sample data and excepted result to me.

 

https://www.dropbox.com/s/4t5pkbq5cgfdici/DAX.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Capture.JPGI need the Sum of Project Count By ResourceInitials wise ( DAX for Measure not Column) because i work on Cubes

Hi @ssvr,

 

I create two measures as below.

 

Count of project = COUNT(Table1[ProjectNumber])
Measure 2 = SUMX(ALLEXCEPT(Table1,Table1[Resouceinitials]),[Count of project])

212.PNG

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/4t5pkbq5cgfdici/DAX.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

I got this error Capture.JPG

Hi @ssvr

 

Try to update the formula to this one.

 

Count of project = COUNTA(Table1[ProjectNumber])

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @ssvr,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors