Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to count how many TRUE() and FALSE() are resulting from the measure DidUserPurchaseInBoth Periods. All the values in the matrix are measures, no columns.
I have created this measure:
Hi @JolienR ,
According to your snapshot, when you use the formula of @davehus 's, why not put the measure in a card visual like your original post? As according to the context, if you put the measure in the visual, it will return 1 on rows where the DidUserPurchaseInBoth Periods is true. Or if you want to return the total number in each "true" row, modify the formula to :
Verloop individueel =
IF (
'MetingenKlanten'[DidUserPurchaseInBothPeriods] = TRUE (),
SUMX (
FILTER (
ALL ( MetingenKlanten ),
MetingenKlanten[DidUserPurchaseInBothPeriods] = TRUE ()
),
1
)
)
I can't access your attached file, and it get correct result in my created sample.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-yanjiang-msft,
Many thanks for your reaction. Unfortunately, CustomerLast12-6Months & CustomerLast6-0Months are measures and I am not able to use the same measure for DidUsersPurchaseInBothPeriods as you did. Which results in the fact that Verloop invidueel still 1 is.
Hi @Luuky, & @davehus
Unfortunately, it does not work.
I uploaded a test file: https://drive.google.com/file/d/1xPceY0cWO3E6H-rBlE38gcA-ln35GNGD/view?usp=sharing
These measures are the I use:
Hi @JolienR ,
Try something like
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |