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,
I need assistance on the formula for computing % of new products over total. I could not achieve the desired output.
Formula should be New Product Count / Total by Region.
Eg. for Asia and Enterprise = 7 / 113 (total for Asia) = 6.19%
Correct %:
The formulas I used:
1) Count of NEW Products =
CALCULATE(
DISTINCTCOUNT(DATA[ProductID]),
DATA[Status] IN {"New"})
3) % New Products = IFERROR([Count of NEW Products]/[Total Count of Products],0)
Attaching the links for the pbix and sample data with computation.
https://drive.google.com/drive/folders/1d1ivWVWhnNzfcUGdseXiTY71pldhct5M?usp=sharing
Thanks in advance for your help.
Regards,
Summer
Solved! Go to Solution.
Hi @summer18 ,
Try this:
% New Products =
IFERROR (
[Count of NEW Products]
/ CALCULATE ( [Total Count of Products], ALLSELECTED ( DATA[Segment] ) ),
0
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @amitchandak , Thanks for checking into this. I updated the link
https://drive.google.com/drive/folders/1d1ivWVWhnNzfcUGdseXiTY71pldhct5M?usp=sharing
Hi @summer18 ,
Try this:
% New Products =
IFERROR (
[Count of NEW Products]
/ CALCULATE ( [Total Count of Products], ALLSELECTED ( DATA[Segment] ) ),
0
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
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 |
---|---|
76 | |
75 | |
54 | |
37 | |
31 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |