Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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 |
---|---|
82 | |
78 | |
67 | |
46 | |
45 |
User | Count |
---|---|
105 | |
44 | |
39 | |
39 | |
39 |