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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
DebbieE
Community Champion
Community Champion

DAX to Support Measure or Column with a filter Where Number <1

I have the following as an example

 

Ref               Person          Stage                Fact

1                   122              1                       0.33

1                    122             2                       0.33

1                   122              3                       0.33

2                   44                1                       1

3                   67                 1                      1

 

I want a measure (or column) That I can drag in to show the Summed Number of Facts where the fact is less that 1. Because if its less that one it means that Person is against the ref more than once.

 

In SQL Id do SELECT SUM(Fact) FROM TABLE  WHERE Fact<1 But I cant quite figure out how to do it in DAX.

 

I tried to add it seperately as a filter but it doesnt seemt to work

1 ACCEPTED SOLUTION
gooranga1
Power Participant
Power Participant

I have attached 2 screenshots below. Not sure if that is what you are looking for?

 

Demo2.PNGDemo1.PNG

View solution in original post

6 REPLIES 6
gooranga1
Power Participant
Power Participant

I have attached 2 screenshots below. Not sure if that is what you are looking for?

 

Demo2.PNGDemo1.PNG

Thanks

 

Ill see what I can do with that

arndtvissing
Frequent Visitor

this is called Binning. you can read more on how to use it here:

 

https://community.powerbi.com/t5/Desktop/Need-help-in-creating-Histogram-chart-in-power-BI/td-p/4827...

 

and if the binning function is not working for you, you can try the SWITCH function like below

 

https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning

Im sorry I dont really understand how to apply those examples to what Im Want to do.

 

For example I want a Card showing Number of None Multiples 2 And Number of Multiples 1 for this example

 


 

@DebbieE I guess you are looking for a sum of first 3 records which will be .99, is that correct?

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

DebbieE
Community Champion
Community Champion

It should sum to 1. Ive just shown as 2 digits. This is a screenshot  DAXInterruptionIssue.jpg

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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