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!View all the Fabric Data Days sessions on demand. View schedule
Hello,
I have the following formula:
Measure = OR(Distinctcount('business') >= 2, AND('Business' = ____ , 'sub unit' >= 2)).
I have a list of businesses where some repeat and some don't. For a specific value of that business, I want to see if there is more than one sub unit for that business. Basically, I'm trying to filter my dashboard for only rows in which businesses>=2 OR business=value AND sub units for that business >=2. How can I do this by either adding a new column or measure?
Hi @bschil98 ,
Measure = CALCULATE(DISTINCTCOUNT('Table'[Products]),ALLEXCEPT('Table','Table'[Business]))
What's your expected output? Could you please provide more details to help us clarify your scenario?
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you provide a sample of your data?
Here is an excel of exmple data
Please paste your data in a usable format (table or link to data), not just the screenshot.
This has useful info to help get your questions answered quickly...
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!