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,
I am struggling trying to get count of true/false to work. I have tried several different methods.
So I have e.g
User Acquired
a True
a True
a True
b True
b True
c True
d True
I want number of Trues to be 4 not 7. Any ideas on how to achieve this ? Appreciate any help !
Have tried
DistinctAcquiredCount = COUNTROWS(FILTER('tblZerion_C2', tblZerion_C2[acquired_status]='True'))
and
CALCULATE(
COUNTA('tblZerion_C2'[acquired_status]),
'tblZerion_C2'[acquired_status] IN { "True" }
)
Solved! Go to Solution.
Hi @marculos,
1. First make sure the data type of Acquired column is set to Text
2. Use the below measure to get the desired result.
Measure = CALCULATE ( DISTINCTCOUNT ( Table1[User] ), FILTER ( Table1, Table1[Acquired] = "True" ) )
Regards,
Prateek Raina
Hi @marculos,
1. First make sure the data type of Acquired column is set to Text
2. Use the below measure to get the desired result.
Measure = CALCULATE ( DISTINCTCOUNT ( Table1[User] ), FILTER ( Table1, Table1[Acquired] = "True" ) )
Regards,
Prateek Raina
works great for me thanks bud. 😄
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 |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |