Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Cancellation Value % should show higher the cancellation value with the higher % of cancellation %, but I think it uses each brand total amount insteand of using total brand amount as my TOTAL.
$341,032.64 should show the highest % amoung of these brands.
I did
cancellation value: calculate(sum(database[order value],filter(database,database[analysis]= "cancel"))
total value : calculate(sum(databse[order value]))
cancellation value %: dividie( cancellation value, total value)
someone please help !
Solved! Go to Solution.
Hi,
I am not sure of what you want but try this
cancellation value = calculate(sum(database[order value]),database[analysis]= "cancel")
total value = calculate(sum(databse[order value]),all(database[brand]))
cancellation value % = divide([cancellation value],[total value])
Hope this helps.
Hi @tyan ,
If your total is calculated only with analysis="cancel", you can modify the measure to
Total value = CALCULATE(SUM('database'[order value]),FILTER(ALL(database),[analysis]="cancel"))
The other measures remain unchanged.
You can check more details from the attachment.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Stephen, thank you for answering me question. The % looks good which higher cancenllation value = higher cancellation%; however, the total %, I am not looking for 100% thos
Hi @tyan ,
What do you want to show here in total?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I am not sure of what you want but try this
cancellation value = calculate(sum(database[order value]),database[analysis]= "cancel")
total value = calculate(sum(databse[order value]),all(database[brand]))
cancellation value % = divide([cancellation value],[total value])
Hope this helps.
Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.