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 , I'm looking for a Measure in PBI that will allow me to get the Count of Injury, if Forseeble is True, from below table.
Incident number | Forseeble | Injury | Count of Injury if Forseeble True |
1 | TRUE | TRUE | |
2 | FALSE | FALSE | |
3 | FALSE | FALSE | |
4 | FALSE | TRUE | |
5 | TRUE | FALSE | |
6 | TRUE | TRUE | |
7 | FALSE | TRUE | |
8 | FALSE | FALSE | |
9 | FALSE | FALSE |
Solved! Go to Solution.
Hi @ARoma
try to create a measure with this:
Hi @ARoma
try to create a measure with this:
Hi @djurecicK2
thanks for looking into this. I'm looking for the Count of Injury True, (not incidents), where Forseeble is also True.
Hi @djurecicK2
thanks for looking into this. I'm looking for the Count of Injury True, (not all incidents), where Forseeble is also True. If I undersend corectly , the measure you mentioned above is caluculationg all incidents where Forseable is True.
Hi @ARoma
You can try something like this
Count of Foreseeable= CALCULATE(COUNT(Tablename[incident number]),FILTER(tablename, tablename[ForeseeableInjury]= true()))
Use "true" if that field is text. Please adapt to your field and table names.
Please accept as solution if this answers the question- thanks!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |