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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ROG
Responsive Resident
Responsive Resident

Dax measure not working

Hi all,

 

Could you please tell me what I'm missing?

I want to know the number of sales partner that had at least 1 GA.

 

ROG_0-1674036914497.png

Thanks!

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @ROG

try like:
POS =
CALCULATE(
   DISTINCTCOUNT('Sales Partner'[Sales Partner Code]),
   FILTER('Sales Partner', [Gross Addition Daily]=1)
)

 

if the issue persist, please consider providing more info about your sample data and model info (if multiple tables are involved)

 

View solution in original post

2 REPLIES 2
FreemanZ
Super User
Super User

hi @ROG

try like:
POS =
CALCULATE(
   DISTINCTCOUNT('Sales Partner'[Sales Partner Code]),
   FILTER('Sales Partner', [Gross Addition Daily]=1)
)

 

if the issue persist, please consider providing more info about your sample data and model info (if multiple tables are involved)

 

Mahesh0016
Super User
Super User

@ROG  it is not work because u use Measure Expression for comparision .

GA>0 POS = calculate(Distinctcount(Table[column]),filter(table,[measure you use] > 1))


 

@ROG If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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