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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Anonymous
Not applicable

Hi @Anonymous 

 

You could do

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

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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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

Anonymous
Not applicable

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.

amitchandak
Super User
Super User

@Anonymous , Create a new column like

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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