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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
titanic123
Helper I
Helper I

New Calculated Column with If and Sum

Hi All, Please help me with the DAX for calculated column in PowerBi :

I am trying to create a new column using below formula from Excel in PowerBi

 

Denied Access:=IF(SUM(Details[NCC Denied Access]) > 0, SUM(Details[NCC Denied Access]), blank())

 

Thansk in advance.

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

if you are create a calculated column in DAX, the code may be

Denied Access=IF(Details[NCC Denied Access] > 0, Details[NCC Denied Access])

View solution in original post

2 REPLIES 2
titanic123
Helper I
Helper I

Thanks a lot this worked well.

wdx223_Daniel
Super User
Super User

if you are create a calculated column in DAX, the code may be

Denied Access=IF(Details[NCC Denied Access] > 0, Details[NCC Denied Access])

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors