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.
Good Afternoon
I have a number of products which each have a target against them, i also have a measure detailing number sold, i then have a measure to show the % against the target.
Product | Target | Sold | % Against Target |
0001 | 35 | 41 | 117% |
0002 | 22 | 10 | 45% |
0003 | 16 | 8 | 50% |
What i want to be able to do is to put into 3 cards above the table the total number of products where the % against target is <50%, is between 90% and 100% and > 100%.
is this possible.
Target these numbers will not change this is a static base dataset imported in , number sold is a measure and % against target is a measure.
Thank you for your help
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create measures.
Products Between 90% and 100% =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table', 'Table'[%Against Target] >= 0.9 && 'Table'[%Against Target]<= 1)
)
Products Greater Than 100% =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table', 'Table'[%Against Target] > 1)
)
Products Less Than 50% =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table', 'Table'[%Against Target] < 0.5)
)
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, the above has worked
Hi @Anonymous ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create measures.
Products Between 90% and 100% =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table', 'Table'[%Against Target] >= 0.9 && 'Table'[%Against Target]<= 1)
)
Products Greater Than 100% =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table', 'Table'[%Against Target] > 1)
)
Products Less Than 50% =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table', 'Table'[%Against Target] < 0.5)
)
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |