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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.