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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
pranit828
Community Champion
Community Champion

Hi @Anonymous 

 

You could do

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





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
Anonymous
Not applicable

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

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

Anonymous
Not applicable

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

Hi , @Anonymous 

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

Hi @Anonymous ,

 

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.





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
amitchandak
Super User
Super User

@Anonymous , Create a new column like

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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