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 September 15. Request your voucher.
I have 2 measusres meant to count how many advisors have 0 sales and how many have between 1-4 sales. The below formula is meant to capture the second number, but as written it also captures those with 0 sales. How do I modify it to capture only those with 1-4 sales?
1-4 RTA = CALCULATE(DISTINCTCOUNT(Advisors[Advisor Name]),FILTER(Advisors,Advisors[RTAs]<5))
Thanks!
Solved! Go to Solution.
Hey,
guess this would work
1-4 RTA = CALCULATE( DISTINCTCOUNT(Advisors[Advisor Name]) ,FILTER(Advisors ,Advisors[RTAs] >= 1 && Advisors[RTAs] <=5 ) )
Regards
Hey,
guess this would work
1-4 RTA = CALCULATE( DISTINCTCOUNT(Advisors[Advisor Name]) ,FILTER(Advisors ,Advisors[RTAs] >= 1 && Advisors[RTAs] <=5 ) )
Regards
Thanks! I never would have guessed the double ampersand (&&)!
Sometimes it's the small things
Well, I'm new at this, so it's often the small things! But I surely do do appreciate the help!
User | Count |
---|---|
58 | |
56 | |
55 | |
50 | |
32 |
User | Count |
---|---|
172 | |
89 | |
70 | |
46 | |
45 |