Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
9 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |