Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to calculate the total value based upon the table above. If complexity is equal to low I need to multiply the backlog-complexity count by 25 and if medium the count by 80 and find the sum of these two results.
Solved! Go to Solution.
Hi @andrewfayj,
Please also try this DAX solution.
Measure = IF ( HASONEVALUE ( 'table'[Complexity] ), COUNT ( 'table'[Complexity] ), SUMX ( ALL ( 'table'[Complexity] ), IF ( [Complexity] = "Low", CALCULATE ( COUNT ( 'table'[Complexity] ) ) * 25, CALCULATE ( COUNT ( 'table'[Complexity] ) ) * 80 ) ) )
Best Regards,
Hi @andrewfayj,
Please also try this DAX solution.
Measure = IF ( HASONEVALUE ( 'table'[Complexity] ), COUNT ( 'table'[Complexity] ), SUMX ( ALL ( 'table'[Complexity] ), IF ( [Complexity] = "Low", CALCULATE ( COUNT ( 'table'[Complexity] ) ) * 25, CALCULATE ( COUNT ( 'table'[Complexity] ) ) * 80 ) ) )
Best Regards,
Hi,
You create a new column in Power Query.
In Add Column Tab -> Conditional Column
if Complexity contains Low then 25
elseif Complexity contails Medium then 80
elseif Complexity.
Then create another column, which is multiplication of Blocklog-Complexity-Count * New Column.
Use it in the Report.
Regards,
Pavan Vanguri.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |