Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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 @Anonymous ,
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 April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |