Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear Community,
I have a flat table
Column 1 | Column 2 | Column Uniq | Column Value 1 | Column Value 2 | Formula | Expected Result |
aaaa | 1111 | aaaa1111 | 100 | 12 | 100/(12+3)*12 | 80 |
aaaa | 1111 | aaaa1111 | 100 | 3 | 100/(12+3)*3 | 20 |
bbbb | 2222 | bbbb2222 | 200 | 5 | 100/5*5 | 100 |
What formula can be used to receive expected result ?
Solved! Go to Solution.
Hi @slyfox
Try this column
Column = DIVIDE ( [Column Value 1] * [Column Value 2], CALCULATE ( SUM ( TableName[Column Value 2] ), ALLEXCEPT ( TableName, TableName[Column 1] ) ) )
Hi @slyfox
Try this column
Column = DIVIDE ( [Column Value 1] * [Column Value 2], CALCULATE ( SUM ( TableName[Column Value 2] ), ALLEXCEPT ( TableName, TableName[Column 1] ) ) )
User | Count |
---|---|
77 | |
76 | |
45 | |
31 | |
27 |
User | Count |
---|---|
98 | |
89 | |
52 | |
48 | |
46 |