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.
Hi awesome community! Can anyone guide me on how to create a measure that satisfies the following conditions? I need to find an ideal entity that should fulfill the following criteria:
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Count ID measure: =
VAR _conditionone =
SUMMARIZE (
FILTER (
data,
data[Name]
IN { "Advisory Services", "Compliance Services" }
&& data[Boolean] = TRUE ()
),
data[ID]
)
VAR _conditiontwo =
SUMMARIZE (
FILTER (
data,
data[Name] = "Industry"
&& data[Text]
IN {
"E-Commerce",
"Building & Construction – Turnover less than XX",
"Building & Construction – Turnover greater than XX"
}
),
data[ID]
)
VAR _result =
UNION ( _conditionone, _conditiontwo )
RETURN
COUNTROWS ( DISTINCT ( _result ) )
Hi @Jihwan_Kim, thank you for your efforts on this. The suggested DAX measure is close to what I need. However, the specific line of code caused an issue where it only returned either one of the services as true, instead of both being true together as needed. Sample below will count as 1 🙂 Thanks again for your time.
IN { "Advisory Services", "Compliance Services" }
&& data[Boolean] = TRUE ()
)
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 |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
89 | |
52 | |
45 | |
39 | |
38 |