Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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 ) )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 ()
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
83 | |
47 | |
42 | |
34 |
User | Count |
---|---|
190 | |
79 | |
72 | |
49 | |
46 |