Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
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
So i'm doing some analysis on my company's clients and some of them have projects with multiple sectors within our company.
I want to filter my data to show clients who have projects with one particular sector.
Thanks in advance.
Solved! Go to Solution.
Hi @SDigital,
Based on my understanding, you want to display those clients who have only one project with only one sector, right?
If so, you can create a measure similar to below, add this measure to visual level filter and set its value to 1.
check1 =
IF (
CALCULATE (
DISTINCTCOUNT ( Sheet1[Project] ),
ALLEXCEPT ( Sheet1, Sheet1[Client] )
)
= 1
&& CALCULATE (
DISTINCTCOUNT ( Sheet1[Sector] ),
ALLEXCEPT ( Sheet1, Sheet1[Client], Sheet1[Project] )
)
= 1,
1,
0
)
Best regards,
Yuliana Gu
Hi @SDigital,
Based on my understanding, you want to display those clients who have only one project with only one sector, right?
If so, you can create a measure similar to below, add this measure to visual level filter and set its value to 1.
check1 =
IF (
CALCULATE (
DISTINCTCOUNT ( Sheet1[Project] ),
ALLEXCEPT ( Sheet1, Sheet1[Client] )
)
= 1
&& CALCULATE (
DISTINCTCOUNT ( Sheet1[Sector] ),
ALLEXCEPT ( Sheet1, Sheet1[Client], Sheet1[Project] )
)
= 1,
1,
0
)
Best regards,
Yuliana Gu
Thanks for answering my query. This formula is almost there but i want to show clients that have one or more projects with one sector.
Thanks again!
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 |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 29 | |
| 26 | |
| 25 |