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! It's time to submit your entry. Live now!
Hi there,
I am quite new to PowerBI and still struggling to understand the calculations performed behind the functions. Commited to learn thought! 🙂
My struggle right now is the following. I have four variables:
I would like to know two things:
The second function doesn't want to work. I am not sure where the problem is but it ends-up counting any unique customer with books sales, independently of any percentage.. I wonder whether is has to do with using a measure a metric for the filter. Thoughts? 🙂
Thanks,
Eloy
Solved! Go to Solution.
@Anonymous
try this alternative
Unique Customers, +50% Books (#) =
COUNTROWS (
FILTER ( VALUES ( 'Sales'[CustomerID] ), [BookPurchases (%)] >= 0.5 )
)
@Anonymous
try this alternative
Unique Customers, +50% Books (#) =
COUNTROWS (
FILTER ( VALUES ( 'Sales'[CustomerID] ), [BookPurchases (%)] >= 0.5 )
)
It does work! Thanks 🙂
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 35 | |
| 23 | |
| 22 |
| User | Count |
|---|---|
| 133 | |
| 99 | |
| 57 | |
| 39 | |
| 38 |