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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
SelflearningBi
Helper III
Helper III

How to use divide function

SelflearningBi_0-1671075627760.png

I would like to create a Claim Rate, should do the following calcuation. how to do it? Now it only show  after shipment but the answer display in the Total rater than in the after shipment row.. still not correct

Before Ship Rate=419960/518247720
After Ship Rate=341929/518247720

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @SelflearningBi ,

 

Please try this:

Claim Rate After Shipment = 
VAR _total = CALCULATE([Confirmed Value USD],ALL('Table'[Timing]))
VAR _result = DIVIDE([N/O Request Penalty Value],_total)
RETURN
_result

vcgaomsft_0-1672103756250.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @SelflearningBi ,

 

Please try this:

Claim Rate After Shipment = 
VAR _total = CALCULATE([Confirmed Value USD],ALL('Table'[Timing]))
VAR _result = DIVIDE([N/O Request Penalty Value],_total)
RETURN
_result

vcgaomsft_0-1672103756250.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Mahesh0016
Super User
Super User

@SelflearningBi ,
please share demo PBI file for more understanding. 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.