Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
byWing
Helper I
Helper I

Risk 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 Completion] and [Reduction Opportunity] are measures.

 

I have tried but I just don't understand how to craft the DAX pls.

 

Appreciate your help pls. 

Thank you.

 

byWing_1-1724141741151.png

 

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

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.

 

Jihwan_Kim_1-1724142689038.png

 

 

Jihwan_Kim_0-1724142670139.png

 

 

Risk completion %: = 
DIVIDE (
    [Reduction completion:],
    CALCULATE ( [Reduction Opportunity:], ALLSELECTED ( 'calendar'[Year Quarter] ) )
)

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi, @byWing 

 

You can try the following methods.

Measure = 
Var _Sumall=SUMX(ALL('Table'),[Reduction Opportunity])
RETURN
DIVIDE([Reduction Completion],_Sumall)

vzhangtinmsft_0-1724205776061.png

Is this the result you expected?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Jihwan_Kim
Super User
Super User

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.

 

Jihwan_Kim_1-1724142689038.png

 

 

Jihwan_Kim_0-1724142670139.png

 

 

Risk completion %: = 
DIVIDE (
    [Reduction completion:],
    CALCULATE ( [Reduction Opportunity:], ALLSELECTED ( 'calendar'[Year Quarter] ) )
)

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thank you for your reply. I tried it and it worked. 😃 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.