Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 @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 ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |