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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Bebs
Helper II
Helper II

min / max on boolean

Hello !

Is there a way to use min or max functions equivalent on boolean fields ?

I've a boolean field, I'd like to write a DAX calculation (as efficient as possible) to know if it does exists TRUE values or FALSE values in a boolean field.

Can you please help me ?

 

Thanks !

3 REPLIES 3
Anonymous
Not applicable

Hi, @Bebs 

Thanks @Tahreem24 . I have the following additions, and based on your description, I have created the following sample data:

vjianpengmsft_0-1711949910319.png

In aggregate functions, only the following functions can aggregate Boolean columns:

vjianpengmsft_1-1711950330549.png

You can eradicate what these aggregaters return and adjust them to suit your scenario. I've uploaded the PBIX file I used this time below.

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

 

Bebs
Helper II
Helper II

My point can be reformulate to use an AND or an OR functions on every values of a field (and not only two values) As if AND and OR Functions were aggregate functions.

 

 

 

Tahreem24
Super User
Super User

@Bebs Can you share some input data example and your expected output?

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.