Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Solved! Go to Solution.
You could create measures
PRN count = CALCULATE(DISTINCTCOUNT(data[Persno]),ALLEXCEPT(data,data[City Pin Coad])) <25_1 = CALCULATE(DISTINCTCOUNT(data[City Pin Coad]),FILTER(data,[PRN count]<25))
Or create columns
flag = CALCULATE(DISTINCTCOUNT(data[Persno]),FILTER(ALL(data),data[City Pin Coad]=EARLIER(data[City Pin Coad]))) <25_column = CALCULATE(DISTINCTCOUNT(data[City Pin Coad]),FILTER(ALL(data),data[flag]<25))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You could create measures
PRN count = CALCULATE(DISTINCTCOUNT(data[Persno]),ALLEXCEPT(data,data[City Pin Coad])) <25_1 = CALCULATE(DISTINCTCOUNT(data[City Pin Coad]),FILTER(data,[PRN count]<25))
Or create columns
flag = CALCULATE(DISTINCTCOUNT(data[Persno]),FILTER(ALL(data),data[City Pin Coad]=EARLIER(data[City Pin Coad]))) <25_column = CALCULATE(DISTINCTCOUNT(data[City Pin Coad]),FILTER(ALL(data),data[flag]<25))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Based on your pbix file sample data, use this DAX formula for your <25 Measure
User | Count |
---|---|
98 | |
76 | |
75 | |
48 | |
26 |