Avatar of shieldsco
shieldscoFlag for United States of America

asked on 

Calculate Power BI Measure based on condition

Trying to calculate distinct count of a data element (ALJ Appeal Num) based on a condition (DeadlineNumber =1) using Power BI Measure . 

Receiving error -Too many arguments were passed to the DISTINCTCOUNT function. The maximum argument count for the function is 1.


DISTINCTCOUNT('OMHA-- Field Office Disposition'[ALJ Appeal Num],[DeadlineNumber]=1)

Open in new window



Power BIMicrosoft Office

Avatar of undefined
Last Comment
shieldsco
ASKER CERTIFIED SOLUTION
Avatar of Cédric Tielemans
Cédric Tielemans
Flag of Belgium image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of shieldsco
shieldsco
Flag of United States of America image

ASKER

Thanks
Microsoft Office
Microsoft Office

Microsoft Office is an integrated suite of applications that includes Outlook, Word, Excel, Access, PowerPoint, Visio and InfoPath, along with a number of tools to assist in making the individual components work together. Coding within and between the projects is done in Visual Basic for Applications, known as VBA.

80K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo