Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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! |
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
64 | |
51 | |
36 | |
26 |
User | Count |
---|---|
85 | |
55 | |
45 | |
44 | |
36 |