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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
lowbenol
New Member

Measure Problem with filter

Hello dear all,

My issue is the following:

I want to calculate the number "Matricule" which have only one Total_AT and the number of matricule which have a Total_AT greater than 1.

 

When I do the calculation of Atmulti with the following formula it gives me an empty result.

Total_AT = SUM (DRA [NUMBER AT])

ATmulti = CALCULATE(COUNTX('DRA','DRA'[MATRICULE]), FILTER(DRA,[Total_AT]>1))

Thank you in advance.

 

Capture1.PNG

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @lowbenol ,

 

Your formula seems work for my sample data. Could you please share your data model to us?

0.PNG

 

Best Regards,

Jay

lowbenol
New Member

Thank you @Anonymous  for your answer, i try it but still the same problem.

Total_at is a measure = sum(dra,nombre at)

i want to have the number of total by matricule.

Anonymous
Not applicable

So I used a dummy table as below and wrote the DAX to count the Matricule that has Total_at > 1. This should help.

Screenshot 2021-05-28 at 9.26.08 PM.pngScreenshot 2021-05-28 at 9.26.39 PM.png

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.