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

calculated column with Isblank

Hi,

 

This is my dummy data but actually, I want to work on a huge dataset.

GPP is a calculated column. If the Description column is blank then "NO" else "YES".

 

I tried to use If ISBlank function but sometimes it gives correct output sometimes not. 

 

sbhan4_0-1606792415778.png

 

6 REPLIES 6
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

As mentioned by Nathaniel_C, maybe you have space in column,please try the following : 

 

GPP1 = IF(MAX('Table'[Descriptions]) =" " || ISBLANK(MAX('Table'[Descriptions])),"No","Yes")

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

PhilipTreacy
Super User
Super User

Hi @Anonymous 

How exactly does that formula not work?  You need to be specific and show the incorrect results.  The formula works fine for me even woth a cell that just contains spaces.

If you can share some actual, real data, specifically the data that gives the incorrect result, that would help.

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Nathaniel_C
Super User
Super User

Hi @Anonymous ,

Try this

GPP = IF(MAX('Table'[Descriptions]) ="","No","Yes")


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel

 

gp.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@Nathaniel_C

Thank you for your help! The formula doesn't give the correct answer sometimes.

Hi @Anonymous ,
It is possible that the cell is not empty, so for instance if there was a space in the cell.  Is there any way to check that in your data?
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@Anonymous , New column

Is Blaknk = if(isblank([description]) , "Yes" ,"No")

 

Not is blank  = if(isblank([description]) , "No" ,"Yes")

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.