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 IX
Super User IX

Re: if statement Plus Count

@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

Re: if statement Plus Count

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
Helper I
Helper I

Re: si cuenta Plus Count

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

Re: si cuenta Plus Count

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
Super User IX
Super User IX

Re: si cuenta Plus Count

@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
Helper I
Helper I

Re: If plus count

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

Highlighted
Community Support
Community Support

Re: If plus count

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

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors