The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I would like to make a measurement that makes the sum for each column marked in the red frame divided by the sum of the values in the column marked in green, except when there is a value equal to 0 in the column in red and at the end add all the values.
Solved! Go to Solution.
I managed to solve the problem with the following code
this is not a simple logic. could you also provide your expected result, to avoid guesses and trials?
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |