The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi there,
I am trying to create a new column "Ratio" which calculates the ratio of the quantities sold (#) in the product groups (A/B) in a specific calendar week: # product A/ (# product A + # product B)
Product group | Calendar Week | Quantities sold (#) | Ratio |
A | 1 | 12 | Ratio (week 1)= 12/(12+8) |
B | 1 | 8 | Ratio (week 1)= 12/(12+8) |
A | 2 | 14 | Ratio (week 2)= 14/(14+7) |
B | 2 | 7 | Ratio (week 2)= 14/(14+7) |
Thank you in advance!
Solved! Go to Solution.
@Anonymous try this in a calculated column
and this in a visual
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |