Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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! |
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |