cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

if statement Plus Count

I have two columns:

Actual Planned   CountTheRow

P1                   10        2              1
P2               6         10                1
P3               5                            1
P4                            12            1

I would normally use something like this:

if(isnum(Actual),1,if(isnum(Planned),1))

 

So if P1 has either a Planned or an Actual amount - the row is counted, 

Also: wh is it so hard to type into this section?  Tab and returns are odd???
Jo

7 REPLIES 7
Highlighted
Super User IV
Super User IV

@jo3edc , Create a new column like

if(not(isblank([Actual])) || not(isblank([Planned])),1,0)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Highlighted
Community Champion
Community Champion

Hi @jo3edc 

 

You could do

IF( NOT( ISBLANK( [Actual] ) ) || NOT( ISBLANK( [Planned] ) ) ,1 ,0)


Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍


Regards,
Pranit


Highlighted

Thank you - this is very strange - I am translated into Spanish? And I cannot press tab or enter ... I think it is because I am the opposite part of the globe?


Already

Highlighted
Community Champion
Community Champion

Hi @jo3edc ,

 

Every post here is translated from english to spanish and vis-a-varsa.

Your post is also in english. Click the icon 

pranit828_0-1598418880066.pngon top right of this window you will see both posts. Right now there is no way to switch of spanish.


Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍


Regards,
Pranit


Highlighted

@jo3edc , you will get both the English and Spanish messages. just check the correct ticket in your profile.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Highlighted

I think I need lessons on how to use this interface ... let alone power BI!
-

Hi , @jo3edc 

Could you please tell me whether your problem has been solved?
If it is,  please mark the helpful replies or add your reply as Answered to close this thread.
It will help other community members easily find the solution when they get the similar issue.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors