Forum Discussion
byWing
Helper I
2 years agoRisk Completion % using grand total - How to write the DAX pls?
Hi All, I have this table, which I am trying to create: Risk Completion % by FiscalQuarter = [Reduction Completion]/ Grand total of [Reduction Opportunity] x 100% Both [Reduction Completio...
- 2 years ago
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Risk completion %: = DIVIDE ( [Reduction completion:], CALCULATE ( [Reduction Opportunity:], ALLSELECTED ( 'calendar'[Year Quarter] ) ) )
Jihwan_Kim
Super User
2 years agoHi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Risk completion %: =
DIVIDE (
[Reduction completion:],
CALCULATE ( [Reduction Opportunity:], ALLSELECTED ( 'calendar'[Year Quarter] ) )
)
byWing
Helper I
2 years agoThank you for your reply. I tried it and it worked. 😃