The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, May I know what should I code based on below logic.
Would like to know the number of Unique "PR Number" that is not blank, but the row of "PO number " is blank.
Solved! Go to Solution.
Hi,
This should do the trick :
Count of Unique PR w PO Blank =
CALCULATE( DISTINCTCOUNT( TabPRPO[PR Num] ) ,
FILTER( TabPRPO, ISBLANK( TabPRPO[PO Num] ) && NOT ISBLANK(TabPRPO[PR Num]) ) )
Thank you so much ! it works ! Really appreciate that.
Hi,
This should do the trick :
Count of Unique PR w PO Blank =
CALCULATE( DISTINCTCOUNT( TabPRPO[PR Num] ) ,
FILTER( TabPRPO, ISBLANK( TabPRPO[PO Num] ) && NOT ISBLANK(TabPRPO[PR Num]) ) )
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |