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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Borjaveigasvh
Regular Visitor

Help simplifying conditional column

Good Afternoon, 

Maybe someone has a tip for this kind of calculated column.

My table has 6 columns with diferent values for each row. not all columns have values, in order to determine how many columns have value in each row an qualify the completness of each row, I was thinking on creating a conditional column. but combinations are very high and that would give me a very long conditional formula.

 

I would like to see  if a row has 1, 2, 3, 4, 5 or 6 columns with value 

 

First one is easy because I only have to write it with an OR bolean, 6 is also easy bacause I just need to write the bolean And but the rest is a nightmare. 

 

Any solutition that makes it simplier? 

 

Thanks Community!!

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You can abuse the logical true as a number.

 

Calculated column= sum(column1>blank + column2 >blank + ...)

 

Might need additional encapsulation.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

You can abuse the logical true as a number.

 

Calculated column= sum(column1>blank + column2 >blank + ...)

 

Might need additional encapsulation.

True! Thanks I din't see it that way.

 

Many thanks 

Borja 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.